Commit 9cdb0e40 authored by FFS-Roland's avatar FFS-Roland

removing status file on startup.

parent a6e07d78
......@@ -3,8 +3,9 @@
START=97
start () {
rm /tmp/.gw.ffs
/etc/init.d/micrond enable
/etc/init.d/micrond restart
/etc/init.d/micrond restart
}
stop() {
......
......@@ -18,7 +18,6 @@ if [ "$(uci get gluon-setup-mode.@setup_mode[0].enabled)" = "0" ]; then
logger -t $ME "offline for ${DELTA} sec."
if [ $DELTA -gt 1000 ]; then
rm $FFS
reboot
fi
else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment