mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-07-04 05:27:06 +08:00

* ramips: add support for Linksys EA7500 v2 * fix build * fix build * update build config
19 lines
339 B
Bash
Executable File
19 lines
339 B
Bash
Executable File
#!/bin/sh /etc/rc.common
|
|
|
|
START=99
|
|
|
|
boot() {
|
|
case $(board_name) in
|
|
alfa-network,quad-e4g)
|
|
[ -n "$(fw_printenv bootcount bootchanged 2>/dev/null)" ] &&\
|
|
echo -e "bootcount\nbootchanged\n" | /usr/sbin/fw_setenv -s -
|
|
;;
|
|
linksys,ea7500-v2)
|
|
mtd resetbc s_env || true
|
|
;;
|
|
samknows,whitebox-v8)
|
|
fw_setenv bootcount 0
|
|
;;
|
|
esac
|
|
}
|