2
votes
1answer
863 views

how to detect a laptop hibernate/resume(close lid,open) in osx from a bash script

This is a follow on question to how to trap a suspend a resume from a bash script How do you a trap the event that occurs when you close the lid and later reopen it from a bash script?