Is there some reason you can't just use something like
--sleep-command=sh -c 'play ~/sound/claves*.wav; sleep 15; hibernate'
I could. However, in order to prevent suspending I would have to run
ps, find the process number for the above command, and kill it. If
sleepd started them as two
Package: sleepd
Severity: wishlist
Once my machine starts suspending, I don't have a way to interrupt the
process. It would be nice if sleepd would provide a warning. My
suggestion is to provide a warning command option, something like
this:
--warn-command Command to run to run before
James R. Van Zandt wrote:
Once my machine starts suspending, I don't have a way to interrupt the
process. It would be nice if sleepd would provide a warning. My
suggestion is to provide a warning command option, something like
this:
--warn-command Command to run to run before
3 matches
Mail list logo