(includes missing return 0 statement caught by Serge Hallyn) Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
10 lines
252 B
Bash
Executable file
10 lines
252 B
Bash
Executable file
#!/usr/bin/env sh
|
|
|
|
# This script is called prior to suspending
|
|
|
|
# If this script returns a non-zero exit code, suspension will be cancelled
|
|
|
|
if [ -x "$XDG_CONFIG_HOME/sxmo/hooks/presuspend" ]; then
|
|
"$XDG_CONFIG_HOME/sxmo/hooks/presuspend"
|
|
exit $?
|
|
fi
|