From 117f2abfa9d42233dc401dad893fdc40ca1536d8 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Fri, 8 Jul 2016 01:11:54 +0200 Subject: fixed init script --- etc/init.d/anytun | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'etc') diff --git a/etc/init.d/anytun b/etc/init.d/anytun index eacfdcc..b47378d 100755 --- a/etc/init.d/anytun +++ b/etc/init.d/anytun @@ -11,7 +11,7 @@ PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin DAEMON=anytun LAUNCHER=/usr/local/lib/$DAEMON-launcher -DESC=secure anycast tunneling daemon +DESC="secure anycast tunneling daemon" CONFIG_DIR=/usr/local/etc/$DAEMON VARCONTROL_DIR=/var/run/$DAEMON-controld VARRUN_DIR=/var/run/$DAEMON/ @@ -28,15 +28,15 @@ start_vpn () { if [ -f $CONFIG_DIR/$1/config ] ; then $LAUNCHER vpn $1 || STATUS="FAILED" else - STATUS="no config found" + STATUS=" no config found" fi - start_configd + start_configd $1 echo -n "($STATUS)" } stop_vpn () { kill `cat $PIDFILE` || true rm $PIDFILE - stop_configd + stop_configd $1 } start_configd () { -- cgit v1.2.3