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:
parent
f99eeb71bc
commit
8f674cd316
@ -1,2 +1,2 @@
|
||||
CONFIG="/etc/openvpn/server.conf"
|
||||
OPTIONS="--config $CONFIG --daemon"
|
||||
OPTIONS="--config $CONFIG"
|
||||
|
@ -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() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user