Browse Source

- skel-root: fix coolstream custom-poweroff script

master
vanhofen 5 years ago
parent
commit
2a666bf360
  1. 1
      skel-root/general/files-etc/init.d/rc
  2. 4
      skel-root/general/scripts/custom-poweroff.init

1
skel-root/general/files-etc/init.d/rc

@ -174,6 +174,7 @@ startup() {
fi
case "$runlevel" in
0|6)
# Runlevels 0 and 6 are always stop runlevels
startup $i stop
;;
*)

4
skel-root/general/scripts/custom-poweroff.init

@ -3,7 +3,7 @@
. /etc/init.d/globals
case $1 in
start)
stop)
TIMER="/tmp/.timer"
test -e $TIMER || exit 0
@ -15,6 +15,6 @@ case $1 in
fi
;;
*)
echo "[$BASENAME] Usage: $0 {start}"
echo "[$BASENAME] Usage: $0 {stop}"
;;
esac

Loading…
Cancel
Save