disable rm of sleepimage
This commit is contained in:
3
custompkg/root/usr/local/bin/new-system-setup
Normal file → Executable file
3
custompkg/root/usr/local/bin/new-system-setup
Normal file → Executable file
@@ -7,7 +7,8 @@ sudo xcodebuild -license accept
|
||||
sudo fdesetup enable
|
||||
|
||||
# disable hibernate
|
||||
sudo rm /private/var/vm/sleepimage
|
||||
# SIP prevents this rm, sadly
|
||||
#sudo rm -f /private/var/vm/sleepimage
|
||||
sudo pmset -a hibernatemode 0
|
||||
|
||||
# enable application firewall
|
||||
|
||||
Reference in New Issue
Block a user