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
3 changed files with 6 additions and 0 deletions
|
@ -2,6 +2,8 @@
|
||||||
# Netmon Configurator (C) 2010-2012 Freifunk Oldenburg
|
# Netmon Configurator (C) 2010-2012 Freifunk Oldenburg
|
||||||
# Lizenz: GPL v3
|
# Lizenz: GPL v3
|
||||||
|
|
||||||
|
test -f /tmp/started || exit
|
||||||
|
|
||||||
#Get the configuration from the uci configuration file
|
#Get the configuration from the uci configuration file
|
||||||
#If it does not exists, then get it from a normal bash file with variables.
|
#If it does not exists, then get it from a normal bash file with variables.
|
||||||
if [ -f /etc/config/configurator ];then
|
if [ -f /etc/config/configurator ];then
|
||||||
|
|
|
@ -4,6 +4,8 @@
|
||||||
|
|
||||||
SCRIPT_VERSION="30"
|
SCRIPT_VERSION="30"
|
||||||
|
|
||||||
|
test -f /tmp/started || exit
|
||||||
|
|
||||||
#Get the configuration from the uci configuration file
|
#Get the configuration from the uci configuration file
|
||||||
#If it does not exists, then get it from a normal bash file with variables.
|
#If it does not exists, then get it from a normal bash file with variables.
|
||||||
if [ -f /etc/config/nodewatcher ];then
|
if [ -f /etc/config/nodewatcher ];then
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
#!/bin/ash
|
#!/bin/ash
|
||||||
|
|
||||||
|
test -f /tmp/started || exit
|
||||||
|
|
||||||
# environment
|
# environment
|
||||||
. "/tmp/environment" || exit 1
|
. "/tmp/environment" || exit 1
|
||||||
|
|
Loading…
Add table
Reference in a new issue