@ -51,6 +51,7 @@ $(TARGET_DIR)/etc/init.d/crond:
$(TARGET_DIR)/etc/init.d/custom-poweroff:
ifeq ($(BOXTYPE), coolstream)
$(INSTALL_EXEC) -D $(TARGET_FILES)/scripts/custom-poweroff.init $(@)
$(UPDATE-RC.D) $(@F) start 99 0 6 .
endif
$(TARGET_DIR)/etc/init.d/fstab:
@ -3,7 +3,7 @@
. /etc/init.d/globals
case $1 in
stop)
start)
TIMER="/tmp/.timer"
test -e $TIMER || exit 0
@ -15,6 +15,6 @@ case $1 in
fi
;;
*)
echo "[$BASENAME] Usage: $0 {stop}"
echo "[$BASENAME] Usage: $0 {start}"
esac
@ -23,6 +23,3 @@ LOGINFO "run initscripts stop ..."
run_initscripts stop
SHOWINFO "done"
# send current time, wakeup time, led and bright settings to frontpanel
service custom-poweroff stop