From 4c6e8c9c977cc45dc9cfb68352d41900b5a7027e Mon Sep 17 00:00:00 2001 From: ryt51V Date: Sat, 27 Feb 2016 23:25:31 +0000 Subject: [PATCH] Fixed service startup error when not using lighttpd. --- automated install/basic-install.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/automated install/basic-install.sh b/automated install/basic-install.sh index bc9ec7f0..badf3002 100755 --- a/automated install/basic-install.sh +++ b/automated install/basic-install.sh @@ -760,7 +760,10 @@ displayFinalMessage echo -n "::: Restarting services..." # Start services $SUDO service dnsmasq restart -$SUDO service lighttpd start +if [[ "$webServer" = "lighttpd" ]] +then + $SUDO service lighttpd start +fi echo " done." echo ":::"