Commit 361a354d authored by FFS-Roland's avatar FFS-Roland

added possibility to block watchdog with "uci set system.@system[0].enable_watchdog='0'"

parent a58b2780
...@@ -5,7 +5,8 @@ if [ $(ps | grep -c "$ME") -gt 4 ]; then ...@@ -5,7 +5,8 @@ if [ $(ps | grep -c "$ME") -gt 4 ]; then
exit 1 exit 1
fi fi
if [ "$(uci get gluon-setup-mode.@setup_mode[0].enabled)" = "0" ]; then if [ "$(uci get gluon-setup-mode.@setup_mode[0].enabled)" = "0" ] &&
[ "$(uci get system.@system[0].enable_watchdog)" != "0" ]; then
FFS=/tmp/.gw.ffs FFS=/tmp/.gw.ffs
NOW=$(date +%s) NOW=$(date +%s)
if [ -n "$(batctl gwl | grep '=>')" ]; then if [ -n "$(batctl gwl | grep '=>')" ]; then
......
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