summaryrefslogtreecommitdiff
path: root/etc/init.d
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2009-12-14 03:42:03 +0000
committerChristian Pointner <equinox@anytun.org>2009-12-14 03:42:03 +0000
commit921708281f1d2593c2eb785a9b7ea739388cd751 (patch)
tree22d7636c1840d13118fc42dc5d0e7cdeda28bdd9 /etc/init.d
parentfixed spelling error programm != program (diff)
using DAEMONOPTS at initscript for /etc/default file
Diffstat (limited to 'etc/init.d')
-rwxr-xr-xetc/init.d/uanytun2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/init.d/uanytun b/etc/init.d/uanytun
index 781e809..07cb448 100755
--- a/etc/init.d/uanytun
+++ b/etc/init.d/uanytun
@@ -31,7 +31,7 @@ start_vpn () {
test -d $CHROOTDIR || mkdir -p $CHROOTDIR
fi
DAEMONARG=`sed 's/#.*//' < $CONFIG_DIR/$NAME/config | grep -e '\w' | sed 's/^/--/' | tr '\n' ' '`
- $DAEMON --write-pid /var/run/uanytun.$NAME.pid $POSTUP $DAEMONARG || STATUS="FAILED"
+ $DAEMON --write-pid /var/run/uanytun.$NAME.pid $POSTUP $DAEMONOPTS $DAEMONARG || STATUS="FAILED"
else
STATUS="no config found"
fi