aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/ak-cjdns-scanner7
1 files changed, 7 insertions, 0 deletions
diff --git a/bin/ak-cjdns-scanner b/bin/ak-cjdns-scanner
index 749472e..ef78d2f 100755
--- a/bin/ak-cjdns-scanner
+++ b/bin/ak-cjdns-scanner
@@ -4,6 +4,13 @@
#
# Ref: https://github.com/cjdelisle/cjdns
#
+which dumpLinks > /dev/null 2>&1
+if [ $? -ne 0 ]
+then
+ echo "You need to install cjdns and cjdns-tools"
+ exit 1
+fi
+
counter=0
printf '[' > walk.aknet
dumpLinks \