Skip to content

Commit

Permalink
Update default-settings
Browse files Browse the repository at this point in the history
  • Loading branch information
kiddin9 authored Apr 11, 2021
1 parent f747f00 commit a4d59ae
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion devices/common/default-settings
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit a4d59ae

Please sign in to comment.