mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-02-08 08:40:42 +01:00
This removes the obsolete trailing whitespaces from all base-files cases to be in line with other targets. Signed-off-by: Christoph Krapp <achterin@gmail.com> Link: https://github.com/openwrt/openwrt/pull/20603 Signed-off-by: Robert Marko <robimarko@gmail.com>
24 lines
390 B
Bash
Executable file
24 lines
390 B
Bash
Executable file
#!/bin/sh /etc/rc.common
|
|
|
|
START=99
|
|
|
|
. "$IPKG_INSTROOT/lib/upgrade/asrock.sh"
|
|
|
|
boot() {
|
|
case $(board_name) in
|
|
asrock,g10)
|
|
asrock_bootconfig_mangle "bootcheck" && reboot
|
|
;;
|
|
edgecore,ecw5410|\
|
|
ignitenet,ss-w2-ac2600)
|
|
fw_setenv bootcount 0
|
|
;;
|
|
extreme,ap3935)
|
|
fw_setenv WATCHDOG_COUNT 0x00000000
|
|
;;
|
|
linksys,ea7500-v1|\
|
|
linksys,ea8500)
|
|
mtd resetbc s_env || true
|
|
;;
|
|
esac
|
|
}
|