mirror of
https://github.com/gtxaspec/wz_mini_hacks.git
synced 2024-11-23 05:57:21 +00:00
Update S09dnsmasq
small delay, noticed that somtimes on startup the resolv.conf doesnt copy right...
This commit is contained in:
parent
f6a11d10b5
commit
a0c6ed5370
@ -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