~mil/sxmo-utils

ref: dbc3b1ab509aab5f1db72c5cece2ee2a6eb521e8 sxmo-utils/scripts/core/sxmo_rtcwake.sh -rwxr-xr-x 348 bytes
dbc3b1abStacy Harper Allow the sendnewtextmenu to be used with a number as arg 1 year, 4 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/env sh

# This script (and anything it calls) should return as quickly as possible
# as it blocks the system from suspending (and processing input) until done

# If this script returns a non-zero exit code, the system will wake up

if [ -x "$XDG_CONFIG_HOME/sxmo/hooks/rtcwake" ]; then
	"$XDG_CONFIG_HOME/sxmo/hooks/rtcwake"
	exit $?
fi