init script cleanup, use /etc/rc.d/ for enabled scripts, /etc/init.d/<pkgname> (enabl...
[packages.git] / net / vrrpd / files / vrrpd.init
index 64d686f..ff6d53a 100644 (file)
@@ -3,11 +3,11 @@
 
 BIN=vrrpd
 DEFAULT=/etc/default/$BIN
-[ -f $DEFAULT ] && . $DEFAULT
 RUN_D=/var/run
 PID_F=$RUN_D/$BIN_${IF}_${ID}.pid
 
 start() {
+       [ -f $DEFAULT ] && . $DEFAULT
        $BIN $OPTIONS
 }