mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Merge pull request #1335 from holta/captive-portal-no-longer-systemd-service
captive-portal is no longer a systemd service
This commit is contained in:
commit
00e5376bfb
2 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
|||
# substitute our own server to catch OS connectivity checking URL's
|
||||
|
||||
systemctl stop {{ apache_service }}
|
||||
systemctl stop captive-portal
|
||||
# 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
|
||||
|
|
|
@ -11,5 +11,5 @@ awk '{print("address=/" $1 "/172.18.96.1")}' /opt/iiab/captive-portal/checkurls
|
|||
echo "#following tells windows 7 that captive portal is active" >>/etc/dnsmasq.d/capture
|
||||
echo "address=/dns.msftncsi.com/131.107.255.255" >> /etc/dnsmasq.d/capture
|
||||
awk '{print("ServerAlias ",$1)}' /opt/iiab/captive-portal/checkurls > /etc/apache2/capture
|
||||
systemctl start captive-portal
|
||||
# systemctl start captive-portal
|
||||
systemctl start {{ apache_service }}
|
||||
|
|
Loading…
Add table
Reference in a new issue