fix ettercap compile
[openwrt/svn-archive/archive.git] / admin / monit / files / monit.init
index 11eb303129ff810018b23dac6bf1e73a87a3c722..6a3e5c081399487db97294d1c09c6bd191e2d79c 100644 (file)
@@ -1,13 +1,14 @@
 #!/bin/sh /etc/rc.common
 # Copyright (C) 2006 OpenWrt.org
 
+START=60
 BIN=monit
 DEFAULT=/etc/default/$BIN
 RUN_D=/var/run
 PID_F=$RUN_D/$BIN.pid
-[ -f $DEFAULT ] && . $DEFAULT
 
 start() {
+       [ -f $DEFAULT ] && . $DEFAULT
        mkdir -p $RUN_D
        $BIN $OPTIONS
 }