From ef1a921bab07cdafffdf1248504b634effd5b406 Mon Sep 17 00:00:00 2001 From: Ad Schellevis Date: Mon, 12 Oct 2015 14:15:25 +0000 Subject: [PATCH] (captiveportal, new) comments --- src/opnsense/scripts/OPNsense/CaptivePortal/captiveportal.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/src/opnsense/scripts/OPNsense/CaptivePortal/captiveportal.sh b/src/opnsense/scripts/OPNsense/CaptivePortal/captiveportal.sh index 9d3925f6e..d7ad5eb95 100755 --- a/src/opnsense/scripts/OPNsense/CaptivePortal/captiveportal.sh +++ b/src/opnsense/scripts/OPNsense/CaptivePortal/captiveportal.sh @@ -49,6 +49,7 @@ captiveportal_prestart() captiveportal_start() { + # if the API dispatcher is already running, we will assume all parts are running if [ ! -f /var/run/lighttpd-api-dispatcher.pid ]; then echo "Starting API dispatcher" /usr/local/sbin/lighttpd -f /var/etc/lighttpd-api-dispatcher.conf