Skip to content

Commit

Permalink
Update entry.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
kroese authored Feb 10, 2024
1 parent 0f56d2f commit c577055
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions entry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit c577055

Please sign in to comment.