Update S09dnsmasq

small delay, noticed that somtimes on startup the resolv.conf doesnt  copy right...
This commit is contained in:
sideup66
2024-09-13 22:55:19 -04:00
committed by GitHub
parent f6a11d10b5
commit a0c6ed5370

View File

@@ -28,6 +28,7 @@ dnsmasq_launch() {
else
/opt/wz_mini/bin/dnsmasq -C /opt/wz_mini/etc/dnsmasq.conf
fi
sleep 3
rm -f /tmp/resolv.conf
cp /opt/wz_mini/etc/resolv.conf /tmp/resolv.conf
echo "dnsmasq enabled"