summaryrefslogtreecommitdiff
path: root/install_native.sh
diff options
context:
space:
mode:
authorspv420 <spv@spv.sh>2022-07-31 01:27:08 -0400
committerspv420 <spv@spv.sh>2022-07-31 01:27:08 -0400
commitb1e4ed080148f95bc3037ee2e059e944f3b06ff5 (patch)
treed27f4bb09519e9559d9d16806d4dd80cb1b6ced5 /install_native.sh
parentddcc0b0bb28954480bec60de1ac068a43a8a7c43 (diff)
fix shit
Diffstat (limited to 'install_native.sh')
-rwxr-xr-xinstall_native.sh10
1 files changed, 8 insertions, 2 deletions
diff --git a/install_native.sh b/install_native.sh
index 28719de..76653a0 100755
--- a/install_native.sh
+++ b/install_native.sh
@@ -8,11 +8,17 @@
bin/main_arm -f /usr/sbin/racoon -j exp.js -o racoon.conf
cp racoon.conf /etc/racoon/racoon.conf
-mkdir /var/root/p0laris
rm /var/root/p0laris/stage4.js
+rm -rf /var/root/p0laris
+rm -rf /var/mobile/Media/p0laris
+mkdir /var/root/p0laris
+mkdir /var/mobile/Media/p0laris
cat stage4.js > /var/root/p0laris/stage4.js
chmod 777 /var/root/p0laris/stage4.js
-ln /var/root/p0laris /var/mobile/Media/p0laris
+for i in /var/root/p0laris/*; do
+ name=$(basename $i)
+ ln /var/root/p0laris/$name /var/mobile/Media/p0laris/$name
+done
#bin/main -f ~/racoon -j ../lol.js | ssh root@localhost -p 2222 "cat > /etc/racoon/racoon.conf"