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 gtxaspec
parent fd3ccd6ffe
commit b2d6a38349

View File

@ -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"