Fix openvpn init script (#2284)

git-svn-id: svn://svn.openwrt.org/openwrt/packages@8576 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian 2007-09-02 19:36:06 +00:00
parent f99eeb71bc
commit 8f674cd316
2 changed files with 2 additions and 2 deletions

View File

@ -1,2 +1,2 @@
CONFIG="/etc/openvpn/server.conf"
OPTIONS="--config $CONFIG --daemon"
OPTIONS="--config $CONFIG"

View File

@ -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() {