From 865d49e82df49e564536db5cfcc663643287f438 Mon Sep 17 00:00:00 2001 From: LukeZGD <26163116+LukeZGD@users.noreply.github.com> Date: Thu, 5 Oct 2023 13:43:17 +0800 Subject: [PATCH] Dump /usr/local/standalone only for baseband --- restore.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/restore.sh b/restore.sh index a47596e..2eb1174 100755 --- a/restore.sh +++ b/restore.sh @@ -3326,7 +3326,7 @@ device_ramdisk() { sleep 2 #log "Let's just dump both activation and baseband tars" log "Creating baseband.tar" - $ssh -p 2222 root@127.0.0.1 "cd /mnt1; tar -cvf baseband.tar usr/standalone usr/local/standalone" + $ssh -p 2222 root@127.0.0.1 "cd /mnt1; tar -cvf baseband.tar usr/local/standalone" log "Mounting data partition" $ssh -p 2222 root@127.0.0.1 "mount.sh pv" #log "Creating activation.tar" @@ -4344,7 +4344,7 @@ device_dump() { local dump="../saved/$device_type/$arg.tar" local dmps case $arg in - "baseband" ) dmps="/usr/standalone /usr/local/standalone";; + "baseband" ) dmps="/usr/local/standalone";; "activation" ) dmps="/private/var/root/Library/Lockdown";; esac log "Dumping files for $arg: $dmps"