mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-16 01:24:38 +00:00
captive portal: mkdir -p is enough :)
This commit is contained in:
parent
397ba442c0
commit
77e37862f0
@ -31,9 +31,7 @@ CPDEFAULTTEMPLATE="/usr/local/opnsense/scripts/OPNsense/CaptivePortal/htdocs_def
|
||||
CPZONES=`cat /usr/local/etc/captiveportal.conf | grep "\[zone_" | sed 's/\[zone_//' | sed 's/\]//'`
|
||||
|
||||
# initialize captiveportal work directory
|
||||
if [ ! -d $CPWORKDIR ]; then
|
||||
mkdir -p $CPWORKDIR
|
||||
fi
|
||||
mkdir -p $CPWORKDIR
|
||||
|
||||
# startup API dispatcher, forwards captive portal api request to shared OPNsense API
|
||||
if [ -f /var/run/lighttpd-api-dispatcher.pid ]; then
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user