mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 19:52:06 +00:00
5 lines
284 B
Text
5 lines
284 B
Text
|
#!/bin/bash -x
|
||
|
awk '{print("address=/" $1 "/ 172.18.96.1")}' /opt/iiab/captiveportal/checkurls > /etc/dnsmasq.d/capture
|
||
|
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
|