diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2011-11-07 21:43:54 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2011-11-07 21:43:54 +0000 |
commit | b62560413a3cdab7496d0fbc9a24c99e67fb0272 (patch) | |
tree | 84cd4cdb3840f0906819a2b682b0d4952b3d2c1f /target/linux/ar71xx/base-files/etc/uci-defaults | |
parent | 6c92b26bac14e3d6af2345bb0b70624563fbb518 (diff) | |
download | upstream-b62560413a3cdab7496d0fbc9a24c99e67fb0272.tar.gz upstream-b62560413a3cdab7496d0fbc9a24c99e67fb0272.tar.bz2 upstream-b62560413a3cdab7496d0fbc9a24c99e67fb0272.zip |
ar71xx: create more network configs from the uci-defaults script
Create the default network configuration dynamically for the boards with
swapped eth0, eth1 interfaces.
SVN-Revision: 28819
Diffstat (limited to 'target/linux/ar71xx/base-files/etc/uci-defaults')
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/uci-defaults/network | 8 |
1 files changed, 8 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 dd2eeba5b4..63efc88de1 100755 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/network +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/network @@ -65,6 +65,14 @@ wp543) set_interface_lan "eth0" ;; +ap83 |\ +jwap003 |\ +pb42 |\ +pb44 |\ +routerstation) + set_interfaces_lan_wan "eth1" "eth0" + ;; + *) set_interfaces_lan_wan "eth0" "eth1" ;; |