diff options
author | Christian Pointner <equinox@anytun.org> | 2016-07-08 01:55:33 +0200 |
---|---|---|
committer | Christian Pointner <equinox@anytun.org> | 2016-07-08 01:55:33 +0200 |
commit | a7532af01df20727b4264f40f02bad056f24bef6 (patch) | |
tree | a479f592528eb6a1d25160d433a75004e98ce81b | |
parent | fixe gcrypt warning for anytun-showtables as well (diff) |
silently ignore missing conf.d directory and just don't start anytun-controld
-rwxr-xr-x | usr/lib/anytun-launcher | 3 |
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 } |