Additional information: "systemctl suspend" produces exactly the same result as closing the lid except of course that the machine does not go back into suspension after the script runs. "systemctl hibernate" produces exactly the same result as "systemctl suspend" except that the machines goes into hibernation for the time set in the script rather than into suspension. -- John Hasler jhasler@newsguy.com Elmwood, WI USA