init script cleanup, use /etc/rc.d/ for enabled scripts, /etc/init.d/<pkgname> (enabl...
[openwrt/svn-archive/archive.git] / libs / howl / files / nifd.init
index 0569e68a2242acde01d6fd064e3348533f51251f..59a3f3bc3c426af09639d94a02421a1c3ceb0b08 100644 (file)
@@ -4,9 +4,9 @@
 DEFAULT=/etc/default/nifd
 RUN_D=/var/run
 PID_F=$RUN_D/nifd.pid
-[ -f $DEFAULT ] && . $DEFAULT
 
 start() {
+       [ -f $DEFAULT ] && . $DEFAULT
        [ -d $RUN_D ] || mkdir -p $RUN_D
        nifd $OPTIONS
 }