at/56atd
2011-11-15 16:05:46 +01:00

19 lines
225 B
Bash

#!/bin/sh
#
. "${PM_FUNCTIONS}"
case "$1" in
hibernate|suspend)
;;
thaw|resume)
if [ -f /etc/init.d/atd ]; then
/etc/init.d/atd restart
else
systemctl try-restart atd.service
fi
;;
*) exit $NA
;;
esac