diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2011-11-07 21:43:52 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2011-11-07 21:43:52 +0000 |
commit | 6c92b26bac14e3d6af2345bb0b70624563fbb518 (patch) | |
tree | 4fefcba08a7b78e04d4d6debec186c5cfa0f3e89 /target/linux/ar71xx/base-files/etc/uci-defaults | |
parent | 0a8e5dbf7bcf94cd1c7a836531721a61d8d04cce (diff) | |
download | mtk-20170518-6c92b26bac14e3d6af2345bb0b70624563fbb518.zip mtk-20170518-6c92b26bac14e3d6af2345bb0b70624563fbb518.tar.gz mtk-20170518-6c92b26bac14e3d6af2345bb0b70624563fbb518.tar.bz2 |
ar71xx: create a bunch of network configs from the uci-defaults script
Create the default network configuration dynamically for the boards with
a single ethernet interface.
SVN-Revision: 28818
Diffstat (limited to 'target/linux/ar71xx/base-files/etc/uci-defaults')
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/uci-defaults/network | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/network b/target/linux/ar71xx/base-files/etc/uci-defaults/network index 0a355ea..dd2eeba 100755 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/network +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/network @@ -55,6 +55,16 @@ set_interface_loopback board=$(ar71xx_board_name) case "$board" in +aw-nr580 |\ +bullet-m |\ +eap7660d |\ +rb-411 |\ +tl-wa901nd-v2 |\ +tl-wr703n |\ +wp543) + set_interface_lan "eth0" + ;; + *) set_interfaces_lan_wan "eth0" "eth1" ;; |