disable rm of sleepimage
This commit is contained in:
parent
d1e58f4a3e
commit
991cf2e1ea
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
|
sudo fdesetup enable
|
||||||
|
|
||||||
# disable hibernate
|
# 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
|
sudo pmset -a hibernatemode 0
|
||||||
|
|
||||||
# enable application firewall
|
# enable application firewall
|
||||||
|
Loading…
Reference in New Issue
Block a user