openwrt/target/linux/ipq806x/base-files/etc
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
..
board.d ipq806x: fix LAN and WAN port assignments on TP-Link AD7200 2021-06-08 20:43:52 +02:00
hotplug.d ipq806x: add support for Ubiquiti UniFi AC HD 2021-01-14 01:03:54 +01:00
init.d ipq806x: base-files: asrock: fix bootcount include 2022-02-26 07:40:43 +01:00
uci-defaults ipq806x: remove model name from LED labels 2020-10-07 01:31:45 +02:00
inittab image / basefiles: make console password configurable 2016-04-18 21:53:07 +02:00