summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-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