mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-12 05:35:38 +00:00
This service was unfunctional due to not having its executable bit set. Fixes #13500. Signed-off-by: Eric J. Anderson <eric.j.ason256@gmail.com> (cherry picked from commit 807acbce66c34596ac80cad8ea2a3f170f58429c)
18 lines
437 B
Bash
Executable File
18 lines
437 B
Bash
Executable File
#!/bin/sh /etc/rc.common
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
START=11
|
|
|
|
# To support LEDs on boards that have drivers loaded after rootfs, let's
|
|
# re-run diag.sh AFTER kmodloader has finished, but before boot is complete.
|
|
# This is useful for userspace LED drivers, LEDs that rely on i2c, etc.
|
|
|
|
boot() {
|
|
case $(board_name) in
|
|
netgear,pgzng1)
|
|
. /etc/diag.sh
|
|
set_led_state preinit_regular
|
|
;;
|
|
esac
|
|
}
|