mirror of
https://github.com/gtxaspec/wz_mini_hacks.git
synced 2024-11-26 15:17:18 +00:00
Update S09dnsmasq
small delay, noticed that somtimes on startup the resolv.conf doesnt copy right...
This commit is contained in:
parent
fd3ccd6ffe
commit
b2d6a38349
@ -28,6 +28,7 @@ dnsmasq_launch() {
|
|||||||
else
|
else
|
||||||
/opt/wz_mini/bin/dnsmasq -C /opt/wz_mini/etc/dnsmasq.conf
|
/opt/wz_mini/bin/dnsmasq -C /opt/wz_mini/etc/dnsmasq.conf
|
||||||
fi
|
fi
|
||||||
|
sleep 3
|
||||||
rm -f /tmp/resolv.conf
|
rm -f /tmp/resolv.conf
|
||||||
cp /opt/wz_mini/etc/resolv.conf /tmp/resolv.conf
|
cp /opt/wz_mini/etc/resolv.conf /tmp/resolv.conf
|
||||||
echo "dnsmasq enabled"
|
echo "dnsmasq enabled"
|
||||||
|
Loading…
Reference in New Issue
Block a user