Skip to content

Commit 023b0df

Browse files
Austin WalkerAustin Walker
authored andcommitted
updated
1 parent 4058de7 commit 023b0df

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

payloads/zap-snapshots.sh

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,19 @@ do
4444

4545
diskutil apfs deletesnapshot "$VOLUME" -uuid $uuid
4646
done
47+
48+
echo '\r\nCreating a bootable blessed snapshot. (tip: clone via asr to remove)'
49+
50+
sudo bless --folder "$VOLUME/System/Library/CoreServices" --bootefi --create-snapshot
51+
52+
echo "\r\nThis script was brought to you by StarPlayrX\r\nThe best and only third party Sirius XM Radio player,\r\nVersion 1.1.6 available now in the iOS AppStore!\r\n"
53+
54+
read -p "Press return to Reboot [ options : q for quick ]: " rebootArgs
55+
echo "\r\n"
56+
57+
if [ "$rebootArgs" != "" ]
58+
then
59+
reboot "-$rebootArgs"
60+
else
61+
reboot
62+
fi

0 commit comments

Comments
 (0)