vanhofen
6 years ago
3 changed files with 6 additions and 20 deletions
@ -1,20 +0,0 @@ |
|||||
#!/bin/sh |
|
||||
|
|
||||
. /etc/init.d/globals |
|
||||
|
|
||||
case $1 in |
|
||||
stop) |
|
||||
TIMER="/tmp/.timer" |
|
||||
test -e $TIMER || exit 0 |
|
||||
|
|
||||
if type shutdown_helper > /dev/null; then |
|
||||
# send current time, wakeup time, led and bright settings to frontpanel |
|
||||
PARAM=`cat $TIMER` |
|
||||
SHOWINFO "calling 'shutdown_helper "$PARAM"'" |
|
||||
shutdown_helper $PARAM |
|
||||
fi |
|
||||
;; |
|
||||
*) |
|
||||
echo "[$BASENAME] Usage: $0 {stop}" |
|
||||
;; |
|
||||
esac |
|
Loading…
Reference in new issue