From 808db30b8e79674f9479c342bb1343d5825d9a21 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Sun, 2 Sep 2007 19:36:06 +0000 Subject: [PATCH] Fix openvpn init script (#2284) SVN-Revision: 8576 --- net/openvpn/files/openvpn.default | 2 +- net/openvpn/files/openvpn.init | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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() { -- 2.30.2