diff options
-rwxr-xr-x | etc/init.d/anytun | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/init.d/anytun b/etc/init.d/anytun index 47dc330..740c77b 100755 --- a/etc/init.d/anytun +++ b/etc/init.d/anytun @@ -31,7 +31,7 @@ start_vpn () { if [ -f $CONFIG_DIR/$NAME/config ] ; then POSTUP='' test -f $CONFIG_DIR/$NAME/post-up.sh && POSTUP="-x $CONFIG_DIR/$NAME/post-up.sh" - DAEMONARG=`sed 's/#.*//' < $CONFIG_DIR/$NAME/config | grep -e '\w' | sed 's/^/ --/' | xargs echo` + DAEMONARG=`sed 's/#.*//' < $CONFIG_DIR/$NAME/config | grep -e '\w' | sed 's/^/--/' | tr '\n' ' '` $DAEMON --write-pid /var/run/anytun.$NAME.pid $POSTUP \ $DAEMONOPTS $DAEMONARG || STATUS="FAILED" else |