From 6a5113cb6c033eb4e4f7c901a36fdc6b5755cb20 Mon Sep 17 00:00:00 2001 From: roothider <158083651+roothider@users.noreply.github.com> Date: Wed, 4 Dec 2024 19:36:18 +0800 Subject: [PATCH] Create fix_bootstrap_symlinks.sh --- fix_bootstrap_symlinks.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 fix_bootstrap_symlinks.sh diff --git a/fix_bootstrap_symlinks.sh b/fix_bootstrap_symlinks.sh new file mode 100644 index 0000000..242852c --- /dev/null +++ b/fix_bootstrap_symlinks.sh @@ -0,0 +1,9 @@ +#fix updatelinks.sh failed when re-jailbreaking due to broken bootstrap symlinks +#run this script in filza installed in trollstore + +set JBROOT $(find /var/containers/Bundle/Application -maxdepth 1 -name ".jbroot-*") + +ln -sf .jbroot/usr/bin/dash $JBROOT/bin/sh +ln -sf .jbroot/usr/bin/dash $JBROOT/usr/bin/sh + +echo "fix completed"