summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2016-07-08 01:55:33 +0200
committerChristian Pointner <equinox@anytun.org>2016-07-08 01:55:33 +0200
commita7532af01df20727b4264f40f02bad056f24bef6 (patch)
treea479f592528eb6a1d25160d433a75004e98ce81b
parentfixe gcrypt warning for anytun-showtables as well (diff)
silently ignore missing conf.d directory and just don't start anytun-controld
-rwxr-xr-xusr/lib/anytun-launcher3
1 files changed, 0 insertions, 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
}