From a7532af01df20727b4264f40f02bad056f24bef6 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Fri, 8 Jul 2016 01:55:33 +0200 Subject: silently ignore missing conf.d directory and just don't start anytun-controld --- usr/lib/anytun-launcher | 3 --- 1 file changed, 3 deletions(-) diff --git a/usr/lib/anytun-launcher b/usr/lib/anytun-launcher index 60773fd..49e27e0 100755 --- a/usr/lib/anytun-launcher +++ b/usr/lib/anytun-launcher @@ -43,9 +43,6 @@ start_configd () { CONTROLHOST=`sed 's/#.*//' < $CONFIG_DIR/$NAME/config | grep -e 'control-host' | sed 's/^/ --/' | xargs echo` $CONTROLDAEMON -f $VARCONTROL_DIR/$NAME $DAEMONOPTS $CONTROLHOST \ --write-pid $VARCONTROL_DIR/$NAME.pid - else - echo "no conf.d directory found (maybe $NAME is an anytun client not a server?)" >&2 - return 1 fi } -- cgit v1.2.3