diff options
author | Alexander Couzens <lynxis@fe80.eu> | 2021-08-31 01:43:31 +0200 |
---|---|---|
committer | Alexander Couzens <lynxis@fe80.eu> | 2021-08-31 02:42:32 +0200 |
commit | c39be8e7a4d60b5b66d5bf3b0f8947ae9da42184 (patch) | |
tree | 2bc0f2fd714d286a920d58e971e8f7060692c8fa /target/linux/ramips/mt76x8/base-files | |
parent | 3e16866f395e5292feb3dca2ee076258acd7f0b1 (diff) | |
download | upstream-c39be8e7a4d60b5b66d5bf3b0f8947ae9da42184.tar.gz upstream-c39be8e7a4d60b5b66d5bf3b0f8947ae9da42184.tar.bz2 upstream-c39be8e7a4d60b5b66d5bf3b0f8947ae9da42184.zip |
ramips: minew g1-c: use default static address for lan instead of dhcp
As Adrian Schmutzler suggested on github [1] the device should follow the
default behaviour on ethernet using a static address instead using dhcp.
[1] https://github.com/openwrt/openwrt/commit/8d497b65704f62294a4bbc0e1f5aa4eb1dbf9e24
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
Diffstat (limited to 'target/linux/ramips/mt76x8/base-files')
-rw-r--r-- | target/linux/ramips/mt76x8/base-files/etc/board.d/02_network | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/target/linux/ramips/mt76x8/base-files/etc/board.d/02_network b/target/linux/ramips/mt76x8/base-files/etc/board.d/02_network index 7c9da8f3e4..7cdf27c004 100644 --- a/target/linux/ramips/mt76x8/base-files/etc/board.d/02_network +++ b/target/linux/ramips/mt76x8/base-files/etc/board.d/02_network @@ -15,6 +15,7 @@ ramips_setup_interfaces() glinet,vixmini|\ hak5,wifi-pineapple-mk7|\ mediatek,linkit-smart-7688|\ + minew,g1-c|\ onion,omega2p|\ onion,omega2|\ ravpower,rp-wd009|\ @@ -33,11 +34,6 @@ ramips_setup_interfaces() ucidef_add_switch_attr "switch0" "enable" "false" ucidef_set_interface_lan "eth0" ;; - minew,g1-c) - ucidef_add_switch "switch0" - ucidef_add_switch_attr "switch0" "enable" "false" - ucidef_set_interface_lan "eth0" "dhcp" - ;; asus,rt-n10p-v3|\ asus,rt-n11p-b1|\ asus,rt-n12-vp-b1|\ |