blob: 747a05db68eb78d0b0a19499c8fea2ca20a4cbec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!/bin/sh -e
rm /tmp/ghost_since
# free our gw ip
ifconfig br-mesh 0.0.0.0
# update status of our gateway ip
if we_own_our_ip; then
p2ptbl update $gwiptbl $oct3 free br-mesh
fi
# disable DHCP
uci delete dhcp.mesh
/etc/init.d/dnsmasq restart
# TODO: remove internet redirection & splash iptable
|