mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 11:42:08 +00:00
9 lines
319 B
Bash
Executable file
9 lines
319 B
Bash
Executable file
#!/bin/bash -x
|
|
# substitute our own server to catch OS connectivity checking URL's
|
|
|
|
systemctl stop {{ apache_service }}
|
|
# systemctl stop captive-portal
|
|
echo address=/#/172.18.96.1 > /etc/dnsmasq.d/capture
|
|
/opt/iiab/captive-portal/capture-wsgi.py -d &
|
|
# write the pid just started
|
|
echo $! > /opt/iiab/captive-portal/pid
|