rename pptpd patches, add a patch to use target optimization flags, tidy up Makefile
[openwrt/svn-archive/archive.git] / net / siproxd / files / siproxd.init
index 32b2ca94f6fc7f2566c39c249c6eea32a31f62b7..9ae569b66cf49b119fd3692ee79a6acaea4cced8 100644 (file)
@@ -5,9 +5,9 @@ BIN=siproxd
 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
 }