v1.2
parent
c71259f94e
commit
2200cfb041
|
@ -88,7 +88,7 @@ function stop {
|
||||||
cp /etc/dnsmasq.conf /etc/dnsmasq.conf.back
|
cp /etc/dnsmasq.conf /etc/dnsmasq.conf.back
|
||||||
cat /etc/dnsmasq.conf.back | grep -v clomac > /etc/dnsmasq.conf
|
cat /etc/dnsmasq.conf.back | grep -v clomac > /etc/dnsmasq.conf
|
||||||
fi
|
fi
|
||||||
:>/tmp/clomac_pivot
|
rm -f /tmp/clomac_pivot
|
||||||
ifconfig eth1 down
|
ifconfig eth1 down
|
||||||
macchanger -m $(uci get clomac.eth1mac) eth1
|
macchanger -m $(uci get clomac.eth1mac) eth1
|
||||||
ifconfig eth1 up
|
ifconfig eth1 up
|
||||||
|
|
Loading…
Reference in New Issue