From 0d60689364aab32890d64f9114da128c4f269be7 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 11 Jan 2015 14:55:18 +0000 Subject: [PATCH] Exit if cjdns service does not start --- install-freedombone.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/install-freedombone.sh b/install-freedombone.sh index c8926265..c1eb9317 100755 --- a/install-freedombone.sh +++ b/install-freedombone.sh @@ -781,6 +781,10 @@ function install_cjdns { chmod +x /etc/init.d/cjdns update-rc.d cjdns defaults service cjdns start + if [ ! "$?" = "0" ]; then + systemctl status cjdns.service + exit 8260 + fi if ! grep -q "Mesh Networking" /home/$MY_USERNAME/README; then echo '' >> /home/$MY_USERNAME/README