Skip to content

Commit bfcbc1d

Browse files
committed
Fix #848
1 parent 1c3a65e commit bfcbc1d

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

restore.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5994,6 +5994,10 @@ device_ramdisk64() {
59945994
sleep 2
59955995
done
59965996

5997+
case $1 in
5998+
"getversion" ) device_datetime_cmd;;
5999+
esac
6000+
59976001
echo
59986002
print "* Mount filesystems with this command (for iOS 11.3 and newer):"
59996003
print " mount_filesystems"
@@ -9983,7 +9987,7 @@ device_enter_ramdisk() {
99839987
fi
99849988

99859989
if (( device_proc >= 7 )); then
9986-
device_ramdisk64
9990+
device_ramdisk64 $1
99879991
else
99889992
device_ramdisk $1
99899993
fi
@@ -10506,7 +10510,7 @@ main() {
1050610510
;;
1050710511
"dfuipswipsw" ) device_dfuipsw ipsw;;
1050810512
"customipsw" ) restore_customipsw;;
10509-
"getversion" ) device_ramdisk getversion;;
10513+
"getversion" ) device_enter_ramdisk getversion;;
1051010514
"shutdown" ) $idevicediagnostics shutdown;;
1051110515
"restart" ) $idevicediagnostics restart;;
1051210516
"remove4" ) device_ramdisk setnvram $rec;;

0 commit comments

Comments
 (0)