From c577055718b8b56df57fc2880b2fb363ba464985 Mon Sep 17 00:00:00 2001 From: Kroese Date: Sat, 10 Feb 2024 13:25:04 +0100 Subject: [PATCH] Update entry.sh --- entry.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/entry.sh b/entry.sh index b1abbdd..f820ee8 100644 --- a/entry.sh +++ b/entry.sh @@ -5,6 +5,7 @@ conf="/etc/dnsmasq.conf" if [ ! -f "$conf" ]; then conf="/etc/dnsmasq.custom" + rm -f "$conf" cp /etc/dnsmasq.default "$conf" [ -n "$DNS1" ] && sed -i -e "s/1.0.0.1/$DNS1/g" "$conf" [ -n "$DNS2" ] && sed -i -e "s/1.1.1.1/$DNS2/g" "$conf"