From: Florian Fainelli Date: Sun, 2 Sep 2007 19:36:06 +0000 (+0000) Subject: Fix openvpn init script (#2284) X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=808db30b8e79674f9479c342bb1343d5825d9a21;p=openwrt%2Fsvn-archive%2Fpackages.git Fix openvpn init script (#2284) SVN-Revision: 8576 --- diff --git a/net/openvpn/files/openvpn.default b/net/openvpn/files/openvpn.default index f53d7e654..32baa038e 100644 --- a/net/openvpn/files/openvpn.default +++ b/net/openvpn/files/openvpn.default @@ -1,2 +1,2 @@ CONFIG="/etc/openvpn/server.conf" -OPTIONS="--config $CONFIG --daemon" +OPTIONS="--config $CONFIG" diff --git a/net/openvpn/files/openvpn.init b/net/openvpn/files/openvpn.init index 2d90230c7..5529b91de 100644 --- a/net/openvpn/files/openvpn.init +++ b/net/openvpn/files/openvpn.init @@ -10,7 +10,7 @@ PID_F=$RUN_D/$BIN.pid start() { [ -f $DEFAULT ] && . $DEFAULT mkdir -p $RUN_D - $BIN $OPTIONS + $BIN --writepid $RUN_D/$BIN.pid --daemon $OPTIONS } stop() {