mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-08 14:03:06 +00:00
d6be0a2039
* 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>
15 lines
175 B
Bash
Executable File
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
|
|
}
|