mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-07 06:18:54 +00:00
284735246c
ipq60xx bootcount script include /lib/functions that produce warning when the script is enabled on image compilation. This script is already included by /etc/rc.common hence it's not needed. While at it also fix the format of the switch case. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
13 lines
127 B
Bash
Executable File
13 lines
127 B
Bash
Executable File
#!/bin/sh /etc/rc.common
|
|
|
|
START=99
|
|
|
|
boot() {
|
|
case $(board_name) in
|
|
yuncore,fap650)
|
|
fw_setenv owrt_bootcount 0
|
|
;;
|
|
esac
|
|
}
|
|
|