Quote:
Originally Posted by kwhitefoot
If I start this in a terminal it works nicely but if I suspend the machine while the sleep command is running it never returns because sleep never finishes.
|
are you sure this assessment is correct?
i would rather assume that the script terminates when the machine is suspended.
in any case, you should add commands to terminate before & restart the script(s) after suspend.