From 023b0dfe73a744c788376b835b8f3c9455dab260 Mon Sep 17 00:00:00 2001 From: Austin Walker Date: Sat, 14 Nov 2020 00:24:33 -0500 Subject: [PATCH] updated --- payloads/zap-snapshots.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/payloads/zap-snapshots.sh b/payloads/zap-snapshots.sh index 87fb268..28dd3aa 100755 --- a/payloads/zap-snapshots.sh +++ b/payloads/zap-snapshots.sh @@ -44,3 +44,19 @@ do diskutil apfs deletesnapshot "$VOLUME" -uuid $uuid done + +echo '\r\nCreating a bootable blessed snapshot. (tip: clone via asr to remove)' + +sudo bless --folder "$VOLUME/System/Library/CoreServices" --bootefi --create-snapshot + +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" + +read -p "Press return to Reboot [ options : q for quick ]: " rebootArgs +echo "\r\n" + +if [ "$rebootArgs" != "" ] +then + reboot "-$rebootArgs" +else + reboot +fi \ No newline at end of file