openwrt/target/linux/ipq806x
Petr Štetiar 610b2cff60 ipq806x: base-files: asrock: fix bootcount include
Fixes following error while executing the init script on the buildhost:

 Enabling boot
 ./etc/init.d/bootcount: line 5: /lib/upgrade/asrock.sh: No such file or directory
 Enabling bootcount

While at it fix following shellcheck issue:

 base-files/etc/init.d/bootcount line 11:
    if [ $? -eq 0 ]; then
         ^-- SC2181: Check exit code directly with e.g. 'if mycmd;', not indirectly with $?.

Fixes: #9345
Cc: Ansuel Smith <ansuelsmth@gmail.com>
Cc: Pawel Dembicki <paweldembicki@gmail.com>
Cc: Christian Lamparter <chunkeey@gmail.com>
Fixes: 98b86296e6 ("ipq806x: add support for ASRock G10")
References: https://gitlab.com/ynezz/openwrt/-/jobs/1243290743#L1444
Signed-off-by: Petr Štetiar <ynezz@true.cz>
(cherry picked from commit ce8af0ace0)
2022-02-26 07:40:43 +01:00
..
base-files ipq806x: base-files: asrock: fix bootcount include 2022-02-26 07:40:43 +01:00
files/arch/arm/boot/dts ipq806x: replace full-text BSC license by SPDX identifier 2021-02-05 18:28:30 +01:00
generic ipqx0xx: add Generic subtarget 2019-08-22 21:15:28 +02:00
image treewide: provide global default for SUPPORTED_DEVICES 2021-01-23 12:45:21 +01:00
patches-5.4 kernel: bump 5.4 to 5.4.163 2021-12-12 20:08:17 +01:00
config-5.4 kernel: move some disabled symbols to generic 2021-04-11 16:54:22 +02:00
Makefile treewide: use wpad-basic-wolfssl as default 2020-08-20 14:19:39 +02:00
modules.mk kernel: usb: move phy-qcom-ipq806x-usb to ipq806x modules.mk 2020-08-13 02:12:12 +02:00