new jbloader
This commit is contained in:
parent
3591402383
commit
52fdc582bc
6 changed files with 2 additions and 59 deletions
|
|
@ -903,11 +903,11 @@ if [ true ]; then
|
||||||
"$dir"/iproxy 2222 22 >/dev/null &
|
"$dir"/iproxy 2222 22 >/dev/null &
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ! ("$dir"/sshpass -p 'alpine' ssh -o StrictHostKeyChecking=no -p2222 root@localhost "echo connected" &> /dev/null); then
|
if ! ("$dir"/sshpass -p 'alpine' ssh -ostricthostkeychecking=false -ouserknownhostsfile=/dev/null -o StrictHostKeyChecking=no -q -p2222 root@localhost "echo connected" &> /dev/null); then
|
||||||
echo "[*] Waiting for the ramdisk to finish booting"
|
echo "[*] Waiting for the ramdisk to finish booting"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
while ! ("$dir"/sshpass -p 'alpine' ssh -o StrictHostKeyChecking=no -p2222 root@localhost "echo connected" &> /dev/null); do
|
while ! ("$dir"/sshpass -p 'alpine' ssh -ostricthostkeychecking=false -ouserknownhostsfile=/dev/null -o StrictHostKeyChecking=no -q -p2222 root@localhost "echo connected" &> /dev/null); do
|
||||||
sleep 1
|
sleep 1
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,29 +0,0 @@
|
||||||
#!/jbin/binpack/bin/bash
|
|
||||||
binpack=/jbin/binpack
|
|
||||||
|
|
||||||
# uicache loader app
|
|
||||||
$binpack/bin/rm -rf /var/.palera1n/loader.app
|
|
||||||
$binpack/usr/bin/uicache -p /Applications/Pogo.app/
|
|
||||||
$binpack/usr/bin/uicache -p /Applications/trollstore.app/
|
|
||||||
|
|
||||||
# remount r/w
|
|
||||||
/sbin/mount -uw /
|
|
||||||
/sbin/mount -uw /private/preboot/
|
|
||||||
|
|
||||||
# lauching daemon automatically
|
|
||||||
/usr/bin/launchctl load /Library/LaunchDaemons/
|
|
||||||
|
|
||||||
# update repo
|
|
||||||
if [ -f /usr/bin/apt ]; then
|
|
||||||
apt-get update
|
|
||||||
fi
|
|
||||||
|
|
||||||
# activating tweaks
|
|
||||||
/etc/rc.d/substitute-launcher
|
|
||||||
|
|
||||||
# respring
|
|
||||||
$binpack/usr/bin/uicache -a
|
|
||||||
$binpack/usr/bin/killall -9 SpringBoard
|
|
||||||
|
|
||||||
echo "[post.sh] done"
|
|
||||||
exit
|
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -1,28 +0,0 @@
|
||||||
#!/jbin/binpack/bin/bash
|
|
||||||
binpack=/jbin/binpack
|
|
||||||
|
|
||||||
# uicache loader app
|
|
||||||
$binpack/bin/rm -rf /var/.palera1n/loader.app
|
|
||||||
$binpack/usr/bin/uicache -p /Applications/Pogo.app/
|
|
||||||
|
|
||||||
# remount r/w
|
|
||||||
/sbin/mount -uw /
|
|
||||||
/sbin/mount -uw /private/preboot/
|
|
||||||
|
|
||||||
# lauching daemon automatically
|
|
||||||
/usr/bin/launchctl load /Library/LaunchDaemons/
|
|
||||||
|
|
||||||
# update repo
|
|
||||||
if [ -f /usr/bin/apt ]; then
|
|
||||||
apt-get update
|
|
||||||
fi
|
|
||||||
|
|
||||||
# activating tweaks
|
|
||||||
/etc/rc.d/substitute-launcher
|
|
||||||
|
|
||||||
# respring
|
|
||||||
$binpack/usr/bin/uicache -a
|
|
||||||
$binpack/usr/bin/killall -9 SpringBoard
|
|
||||||
|
|
||||||
echo "[post.sh] done"
|
|
||||||
exit
|
|
||||||
Loading…
Add table
Reference in a new issue