Exit if cjdns service does not start
This commit is contained in:
parent
648ffe4dad
commit
0d60689364
|
@ -781,6 +781,10 @@ function install_cjdns {
|
||||||
chmod +x /etc/init.d/cjdns
|
chmod +x /etc/init.d/cjdns
|
||||||
update-rc.d cjdns defaults
|
update-rc.d cjdns defaults
|
||||||
service cjdns start
|
service cjdns start
|
||||||
|
if [ ! "$?" = "0" ]; then
|
||||||
|
systemctl status cjdns.service
|
||||||
|
exit 8260
|
||||||
|
fi
|
||||||
|
|
||||||
if ! grep -q "Mesh Networking" /home/$MY_USERNAME/README; then
|
if ! grep -q "Mesh Networking" /home/$MY_USERNAME/README; then
|
||||||
echo '' >> /home/$MY_USERNAME/README
|
echo '' >> /home/$MY_USERNAME/README
|
||||||
|
|
Loading…
Reference in New Issue