|
@@ -628,6 +628,10 @@ function install_cjdns {
|
628
|
628
|
if [ ! -d /etc/cjdns ]; then
|
629
|
629
|
git clone https://github.com/cjdelisle/cjdns.git /etc/cjdns
|
630
|
630
|
cd /etc/cjdns
|
|
631
|
+ ./do
|
|
632
|
+ if [ ! "$?" = "0" ]; then
|
|
633
|
+ exit 7439
|
|
634
|
+ fi
|
631
|
635
|
# create a configuration
|
632
|
636
|
if [ ! -f /etc/cjdns/cjdroute.conf ]; then
|
633
|
637
|
./cjdroute --genconf > /etc/cjdns/cjdroute.conf
|
|
@@ -635,10 +639,6 @@ function install_cjdns {
|
635
|
639
|
exit 5922
|
636
|
640
|
fi
|
637
|
641
|
fi
|
638
|
|
- ./do
|
639
|
|
- if [ ! "$?" = "0" ]; then
|
640
|
|
- exit 7439
|
641
|
|
- fi
|
642
|
642
|
# create a user to run as
|
643
|
643
|
useradd cjdns
|
644
|
644
|
else
|