summaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/base-files/etc/board.d/02_network
diff options
context:
space:
mode:
authorChuanhong Guo <gch981213@gmail.com>2019-08-10 20:00:24 +0800
committerChuanhong Guo <gch981213@gmail.com>2019-08-17 23:52:34 +0800
commit68588e15184fe4b1fa99ccf969ee314cf55bc02e (patch)
tree2ff220256d17dffdce1542b828011033a3ac8ad5 /target/linux/ath79/base-files/etc/board.d/02_network
parent92e60260d53bc164b99e4fa5aec32c0d29d6ec26 (diff)
downloadopenwrt-68588e15184fe4b1fa99ccf969ee314cf55bc02e.tar.gz
openwrt-68588e15184fe4b1fa99ccf969ee314cf55bc02e.tar.bz2
openwrt-68588e15184fe4b1fa99ccf969ee314cf55bc02e.zip
ath79: adtran,bsap1840/bsap1800-v2: move bootcount out of 02_network
These device supports were introduced before /etc/init.d/bootcount and they had a bootcount reset done in /etc/board.d/02_network. Move it into /etc/init.d/bootcount instead. Suggested-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us> Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
Diffstat (limited to 'target/linux/ath79/base-files/etc/board.d/02_network')
-rwxr-xr-xtarget/linux/ath79/base-files/etc/board.d/02_network1
1 files changed, 0 insertions, 1 deletions
diff --git a/target/linux/ath79/base-files/etc/board.d/02_network b/target/linux/ath79/base-files/etc/board.d/02_network
index c9261f3556..9702a29ad9 100755
--- a/target/linux/ath79/base-files/etc/board.d/02_network
+++ b/target/linux/ath79/base-files/etc/board.d/02_network
@@ -304,7 +304,6 @@ ath79_setup_macs()
case "$board" in
adtran,bsap1800-v2|\
adtran,bsap1840)
- fconfig -s -w -d $(find_mtd_part "RedBoot config") -n boot_cntb -x 0
lan_mac=$(mtd_get_mac_binary "Board data" 2)
;;
avm,fritz300e)