Order of the do
This commit is contained in:
parent
f4b6e8572b
commit
3bf3329eff
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue