configurator/nodewatcher/wlanwatchdog: only run when system is ready

Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
This commit is contained in:
Tim Niemeyer 2014-08-17 14:59:05 +02:00
parent 410b8fe9a2
commit 5dc555b85c
3 changed files with 6 additions and 0 deletions

View File

@ -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

View File

@ -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

View File

@ -1,4 +1,6 @@
#!/bin/ash
test -f /tmp/started || exit
# environment
. "/tmp/environment" || exit 1