diff options
author | Christian Pointner <equinox@anytun.org> | 2009-12-14 03:42:03 +0000 |
---|---|---|
committer | Christian Pointner <equinox@anytun.org> | 2009-12-14 03:42:03 +0000 |
commit | 921708281f1d2593c2eb785a9b7ea739388cd751 (patch) | |
tree | 22d7636c1840d13118fc42dc5d0e7cdeda28bdd9 /etc/init.d | |
parent | fixed spelling error programm != program (diff) |
using DAEMONOPTS at initscript for /etc/default file
Diffstat (limited to 'etc/init.d')
-rwxr-xr-x | etc/init.d/uanytun | 2 |
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 |