Problem starting a script file after upgrading firmware

Hello members.
I am having a problem running a startup script that I wrote here named "wanled.sh"

I used to add /etc/init.d/wanled/sh & to start the shell file at the startup and it was working without problems using OenWRT v18.06.4 on WRT 1900ACS

After upgrading to 19.07.2. I can no longer do this, as it gives an error failing to enable the script in the Startup Page. The shell file works if I ran it through terminal without problems.

How shall I fix it?

You may need to reinstall the LED related kmods.

kmod-leds-gpio - 4.14.171-1 - Kernel module for LEDs on GPIO lines
kmod-leds-pca963x - 4.14.171-1 - Driver for the NXP PCA963x I2C LED controllers.
kmod-leds-reset - 4.14.171-1 - Kernel module for LEDs on reset lines
kmod-ledtrig-default-on - 4.14.171-1 - Kernel module that allows LEDs to be initialised in the ON state
kmod-ledtrig-gpio - 4.14.171-1 - Kernel module that allows LEDs to be controlled by gpio events
kmod-ledtrig-heartbeat - 4.14.171-1 - Kernel module that allows LEDs to blink like heart beat
kmod-ledtrig-netdev - 4.14.171-1 - Kernel module to drive LEDs based on network activity
kmod-ledtrig-oneshot - 4.14.171-1 - Kernel module that allows LEDs to be triggered by sporadic events in one-shot pulses
kmod-ledtrig-timer - 4.14.171-1 - Kernel module that allows LEDs to be controlled by a programmable timer via sysfs
kmod-ledtrig-transient - 4.14.171-1 - Kernel module that allows LEDs one time activation of a transient state.

1 Like