From 34d2e069b9c9c853178d7adbeb4fecef9dfe928a Mon Sep 17 00:00:00 2001 From: LukeZGD <26163116+LukeZGD@users.noreply.github.com> Date: Sun, 19 Mar 2023 23:24:37 +0800 Subject: [PATCH] Always enable sudoloop --- restore.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/restore.sh b/restore.sh index 71b8dc4..9186047 100755 --- a/restore.sh +++ b/restore.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash device_disable_bbupdate="iPad2,3" # Disable baseband update for this device. You can also change this to your device if needed. -ipsw_openssh=1 # If this value is 1, OpenSSH will be added to custom IPSW. (8.4.1 daibutsu and 6.1.3 p0sixspwn only) +ipsw_openssh=1 # OpenSSH will be added to custom IPSW if set to 1. (8.4.1 daibutsu and 6.1.3 p0sixspwn only) print() { echo "${color_B}${1}${color_N}" @@ -181,6 +181,7 @@ set_tool_paths() { fi fi + device_sudoloop=1 # Run some tools as root for device detection if set to 1. (for Linux) # sudoloop check if [[ $(uname -m) == "x86_64" && -e ../resources/sudoloop && $device_sudoloop != 1 ]]; then local opt