mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2024-11-23 16:39:17 +01:00
Update restore.sh
This commit is contained in:
parent
c4f3e60f27
commit
8a2df9638f
@ -30,11 +30,10 @@ clean_and_exit() {
|
|||||||
read -s
|
read -s
|
||||||
fi
|
fi
|
||||||
if [[ $device_sudoloop == 1 ]]; then
|
if [[ $device_sudoloop == 1 ]]; then
|
||||||
rm -rf /tmp/futurerestore /tmp/*.json
|
sudo rm -rf /tmp/futurerestore /tmp/*.json
|
||||||
fi
|
fi
|
||||||
rm -rf "$(dirname "$0")/tmp/"* "$(dirname "$0")/iP"*/ "$(dirname "$0")/tmp/"
|
rm -rf "$(dirname "$0")/tmp/"* "$(dirname "$0")/iP"*/ "$(dirname "$0")/tmp/"
|
||||||
kill $iproxy_pid $httpserver_pid $sudoloop_pid 2>/dev/null
|
kill $iproxy_pid $httpserver_pid $sudoloop_pid 2>/dev/null
|
||||||
sudo -k
|
|
||||||
exit $1
|
exit $1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user