some fixes

This commit is contained in:
wt committed 2024-07-03 16:05:45 +07:00
1 parent cfcf7f09e0
commit 731989b840
5 files changed
+29 -1

No files matched your search

+1
View File
@@ -8,6 +8,7 @@ case "$1" in
printf "Starting dnsmasq "
sleep 1
/usr/bin/dnsmasq --user=dnsmasq --pid-file=/var/run/dnsmasq.pid
echo "nameserver 0.0.0.0" > /etc/resolv.conf
if [[ "$?" == "0" ]]; then
echo "nameserver 0.0.0.0" > /etc/resolv.conf
printf "[$Green OK $Color_off]\n"