aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/nand/base-files/etc
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ath79/nand/base-files/etc')
-rw-r--r--target/linux/ath79/nand/base-files/etc/board.d/02_network4
-rwxr-xr-xtarget/linux/ath79/nand/base-files/etc/init.d/bootcount4
2 files changed, 8 insertions, 0 deletions
diff --git a/target/linux/ath79/nand/base-files/etc/board.d/02_network b/target/linux/ath79/nand/base-files/etc/board.d/02_network
index b533e5be6c..3c5627e2a4 100644
--- a/target/linux/ath79/nand/base-files/etc/board.d/02_network
+++ b/target/linux/ath79/nand/base-files/etc/board.d/02_network
@@ -30,6 +30,10 @@ ath79_setup_interfaces()
ucidef_add_switch "switch0" \
"0@eth0" "4:lan"
;;
+ linksys,ea4500-v3)
+ ucidef_add_switch "switch0" \
+ "6@eth1" "1:lan" "2:lan" "3:lan" "4:lan" "5:wan" "0@eth0"
+ ;;
netgear,r6100)
ucidef_set_interface_wan "eth1"
ucidef_add_switch "switch0" \
diff --git a/target/linux/ath79/nand/base-files/etc/init.d/bootcount b/target/linux/ath79/nand/base-files/etc/init.d/bootcount
index 87654ba095..4d7a814f05 100755
--- a/target/linux/ath79/nand/base-files/etc/init.d/bootcount
+++ b/target/linux/ath79/nand/base-files/etc/init.d/bootcount
@@ -8,5 +8,9 @@ boot() {
glinet,gl-ar300m-nand)
fw_setenv bootcount 0
;;
+ linksys,ea4500-v3)
+ [ $(fw_printenv -n auto_recovery) = yes ] && \
+ fw_setenv auto_recovery no
+ ;;
esac
}