Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- I've had this in my .profile for years:
- alias sleepsafe='sudo pmset -a destroyfvkeyonstandby 1 hibernatemode 25'
- alias sleepfast='sudo pmset -a hibernatemode 0'
- alias sleepdefault='sudo pmset -a hibernatemode 3'
- Whenever I travel or need to leave my laptop, I always run `sleepsafe`, which will delete the key from memory and hibernate the computer when I close the lid. It has the added benefit of saving battery life.
- Day-to-day, I use `sleepfast`, which is faster than the default hybrid sleep, because it doesn't spend time copying the contents of memory to disk.
- I very rarely switch to `sleepdefault` which is the insecure and slower hybrid sleep.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement