Fixed service startup error when not using lighttpd.

This commit is contained in:
ryt51V 2016-02-27 23:25:31 +00:00
parent 9322a778a7
commit 4c6e8c9c97

View file

@ -760,7 +760,10 @@ displayFinalMessage
echo -n "::: Restarting services..." echo -n "::: Restarting services..."
# Start services # Start services
$SUDO service dnsmasq restart $SUDO service dnsmasq restart
if [[ "$webServer" = "lighttpd" ]]
then
$SUDO service lighttpd start $SUDO service lighttpd start
fi
echo " done." echo " done."
echo ":::" echo ":::"