diff --git a/install-freedombone.sh b/install-freedombone.sh index 3fc5503f..11e6b9b8 100755 --- a/install-freedombone.sh +++ b/install-freedombone.sh @@ -628,6 +628,10 @@ function install_cjdns { if [ ! -d /etc/cjdns ]; then git clone https://github.com/cjdelisle/cjdns.git /etc/cjdns cd /etc/cjdns + ./do + if [ ! "$?" = "0" ]; then + exit 7439 + fi # create a configuration if [ ! -f /etc/cjdns/cjdroute.conf ]; then ./cjdroute --genconf > /etc/cjdns/cjdroute.conf @@ -635,10 +639,6 @@ function install_cjdns { exit 5922 fi fi - ./do - if [ ! "$?" = "0" ]; then - exit 7439 - fi # create a user to run as useradd cjdns else