Linux puskom-ProLiant-DL385-Gen10 5.4.0-150-generic #167~18.04.1-Ubuntu SMP Wed May 24 00:51:42 UTC 2023 x86_64
/
usr
/
lib
/
pm-utils
/
sleep.d
/
//usr/lib/pm-utils/sleep.d/000record-status
#!/bin/sh # # Record the current operation to allow failure detection. STAMPFILE="/var/lib/pm-utils/status" case "$1" in hibernate|suspend) mkdir -p `dirname $STAMPFILE` echo "$1" >"$STAMPFILE" ;; thaw|resume) rm -f "$STAMPFILE" ;; esac