disable rm of sleepimage

This commit is contained in:
Jeffrey Paul 2018-01-26 22:49:52 -06:00
parent d1e58f4a3e
commit 991cf2e1ea

3
custompkg/root/usr/local/bin/new-system-setup Normal file → Executable file
View 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