From 71f580970272550e316d6b006c43dd417849f50c Mon Sep 17 00:00:00 2001 From: kaotisk Date: Sat, 20 Jul 2024 18:31:37 +0300 Subject: Falling back to --whole scan if cjdns-tools are not found --- lib/_ak_network | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'lib') diff --git a/lib/_ak_network b/lib/_ak_network index 62f410f..5d2900c 100755 --- a/lib/_ak_network +++ b/lib/_ak_network @@ -135,14 +135,16 @@ _ak_network_scan_cjdns_dump(){ which dumpLinks > /dev/null 2>&1 if [ $? -ne 0 ] then - echo "You need to install cjdns and cjdns-tools" - exit 1 + echo "You need to install cjdns and cjdns-tools ... falling back to -w" + _ak_network_scan_cjdns_full + exit 0 fi which publictoip6 > /dev/null 2>&1 if [ $? -ne 0 ] then - echo "You need to install cjdns and cjdns-tools" - exit 1 + echo "You need to install cjdns and cjdns-tools ... falling back to -w" + _ak_network_scan_cjdns_full + exit 0 fi TEMPDIR="$(_ak_make_temp_directory)" AK_ZPEERSFILE="$HOME/.arching-kaos/peersFile" -- cgit v1.2.3