PATH=/usr/sbin:/usr/bin:/sbin:/bin
[ -s /.resume -a -b "$resume" ] && {
# First try user level resume; it offers splash etc
[ -x "$(command -v resume)" ] && command resume $a_splash "$resume"
# parsing the output of ls is Bad, but until there is a better way...
echo "${maj%,}:$min"> /sys/power/resume)