diff options
-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 f31d62b..3181525 100755 --- a/etc/init.d/uanytun +++ b/etc/init.d/uanytun @@ -28,7 +28,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/^/ --/' | sed 's/passphrase\s*\(.*\)/passphrase "\1"/' | xargs echo` + DAEMONARG=`sed 's/#.*//' < $CONFIG_DIR/$NAME/config | grep -e '\w' | sed 's/^/--/' | tr '\n' ' '` $DAEMON --write-pid /var/run/uanytun.$NAME.pid $POSTUP \ $DAEMONOPTS $DAEMONARG || STATUS="FAILED" else |