forked from freifunk-franken/firmware
configurator/nodewatcher/wlanwatchdog: only run when system is ready
Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
This commit is contained in:
parent
410b8fe9a2
commit
5dc555b85c
|
@ -2,6 +2,8 @@
|
|||
# Netmon Configurator (C) 2010-2012 Freifunk Oldenburg
|
||||
# Lizenz: GPL v3
|
||||
|
||||
test -f /tmp/started || exit
|
||||
|
||||
#Get the configuration from the uci configuration file
|
||||
#If it does not exists, then get it from a normal bash file with variables.
|
||||
if [ -f /etc/config/configurator ];then
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
|
||||
SCRIPT_VERSION="30"
|
||||
|
||||
test -f /tmp/started || exit
|
||||
|
||||
#Get the configuration from the uci configuration file
|
||||
#If it does not exists, then get it from a normal bash file with variables.
|
||||
if [ -f /etc/config/nodewatcher ];then
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
#!/bin/ash
|
||||
|
||||
test -f /tmp/started || exit
|
||||
|
||||
# environment
|
||||
. "/tmp/environment" || exit 1
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user