From a4d59ae8b125c4f75db65406b9f8c66a67e777c4 Mon Sep 17 00:00:00 2001 From: garypang13 <48883331+garypang13@users.noreply.github.com> Date: Mon, 12 Apr 2021 04:36:04 +0800 Subject: [PATCH] Update default-settings --- devices/common/default-settings | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/devices/common/default-settings b/devices/common/default-settings index 5dedafe960c7..df063c661050 100644 --- a/devices/common/default-settings +++ b/devices/common/default-settings @@ -75,11 +75,12 @@ test $version -lt 1 && { uci set fstab.@global[0].anon_mount=1 uci commit fstab + test ! -f /etc/config/placeholder && { sed -i 's/root:.*/root:$1$tTPCBw1t$ldzfp37h5lSpO9VXk4uUE\/:18336:0:99999:7:::/g' /etc/shadow - uci set network.lan.ipaddr="10.0.0.1" uci set network.@globals[0].packet_steering=1 uci commit network + } uci set dhcp.@dnsmasq[0].dns_redirect='1' uci set dhcp.dnsmasq[0].allservers='1'