openwrt/target/linux/qualcommax/ipq60xx/base-files/etc/init.d/bootcount
Chukun Pan d6be0a2039 qualcommax: ipq60xx: fixes base-files typo
* fix caldata file name
 * fix bootcount file permission

Fixes: 9c55866 ("qualcommax: ipq60xx: add Linksys MR7350 support")
Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
Link: https://github.com/openwrt/openwrt/pull/17230
Signed-off-by: Robert Marko <robimarko@gmail.com>
2024-12-11 17:02:14 +01:00

15 lines
175 B
Bash
Executable File

#!/bin/sh /etc/rc.common
START=99
boot() {
case $(board_name) in
linksys,mr7350)
mtd resetbc s_env || true
;;
yuncore,fap650)
fw_setenv owrt_bootcount 0
;;
esac
}