From ad480d2e7e712e7a146a892789d6a451fcce8a78 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Sun, 14 Jun 2020 23:43:20 +0200 Subject: [PATCH] [viirb] include reboot to reset resolv.conf --- viirb-2-configure-fully-after-upgrade.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/viirb-2-configure-fully-after-upgrade.sh b/viirb-2-configure-fully-after-upgrade.sh index 3a4da33..b96b967 100755 --- a/viirb-2-configure-fully-after-upgrade.sh +++ b/viirb-2-configure-fully-after-upgrade.sh @@ -62,7 +62,6 @@ uci set dhcp.lan.interface='lanv6' uci set dhcp.lan.ra='server' uci set dhcp.lan.dynamicdhcp='0' - # Fix DNS: make dnsmasq NOT use a resolv.conf # so that it only reads from our servers with DNS64 enabled uci set dhcp.@dnsmasq[0].noresolv='1' @@ -117,7 +116,10 @@ uci delete wireless.radio0.disabled uci commit -/etc/init.d/network restart +# Need to reboot to restore /etc/resolv.conf +reboot + +#/etc/init.d/network restart EOF # ensure network is up and running - bridge takes a bit of time @@ -129,7 +131,6 @@ viirb_ip=${my_lan_ip} ping -c5 ${viirb_ip} cat <