mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-19 05:38:00 +00:00
qualcommax: ipq60xx: mute warning on bootcount enable compile
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>
This commit is contained in:
parent
5c833329ce
commit
284735246c
@ -2,13 +2,11 @@
|
|||||||
|
|
||||||
START=99
|
START=99
|
||||||
|
|
||||||
. /lib/functions.sh
|
|
||||||
|
|
||||||
boot() {
|
boot() {
|
||||||
case $(board_name) in
|
case $(board_name) in
|
||||||
yuncore,fap650)
|
yuncore,fap650)
|
||||||
fw_setenv owrt_bootcount 0
|
fw_setenv owrt_bootcount 0
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user