aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/kirkwood/base-files/etc/init.d
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-06-13 00:36:01 +0200
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-07-31 15:03:43 +0200
commit65305cb44869774a7db10c517b871dce5ab46ccb (patch)
tree32d6daf0310d38c7be9b97d5caf5370f35d228c6 /target/linux/kirkwood/base-files/etc/init.d
parent217877d046414878126e5c8013162e3b7edc774c (diff)
downloadupstream-65305cb44869774a7db10c517b871dce5ab46ccb.tar.gz
upstream-65305cb44869774a7db10c517b871dce5ab46ccb.tar.bz2
upstream-65305cb44869774a7db10c517b871dce5ab46ccb.zip
kirkwood: use real model names for Linksys devices
This replaces the internal device names "Audi" and "Viper" with the real model names, which a user would look for. This makes the Linksys devices on this target consistent with the names recently changed for mvebu based on the same idea. As a consequence, the "viper" device definition is split into two separate definitions with the correct names for both real models. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/kirkwood/base-files/etc/init.d')
-rwxr-xr-xtarget/linux/kirkwood/base-files/etc/init.d/bootcount5
1 files changed, 3 insertions, 2 deletions
diff --git a/target/linux/kirkwood/base-files/etc/init.d/bootcount b/target/linux/kirkwood/base-files/etc/init.d/bootcount
index 478f3d0134..bbb36eb6ea 100755
--- a/target/linux/kirkwood/base-files/etc/init.d/bootcount
+++ b/target/linux/kirkwood/base-files/etc/init.d/bootcount
@@ -4,8 +4,9 @@ START=99
boot() {
case $(board_name) in
- linksys,audi|\
- linksys,viper)
+ linksys,e4200-v2|\
+ linksys,ea3500|\
+ linksys,ea4500)
mtd resetbc s_env || true
;;
esac