base-files: fix LED IDE trigger
authorThomas Albers <thomas.gameiro@googlemail.com>
Wed, 3 Jun 2020 11:42:47 +0000 (13:42 +0200)
committerPetr Štetiar <ynezz@true.cz>
Wed, 3 Jun 2020 14:49:28 +0000 (16:49 +0200)
This changes the ide-disk LED trigger to the generic disk-activity as
ide-disk trigger was removed in upstream commit eb25cb9956cc ("leds:
convert IDE trigger to common disk trigger").

Signed-off-by: Thomas Albers <thomas.gameiro@googlemail.com>
[split into separate commit, commit description facelift]
Signed-off-by: Petr Štetiar <ynezz@true.cz>
package/base-files/files/lib/functions/uci-defaults.sh

index 0d2dcd52415f50636482d113be2249f5fa77f1ce..e551e8fd574062c5452be74622aff4263f9a7df7 100755 (executable)
@@ -404,7 +404,7 @@ ucidef_set_led_gpio() {
 }
 
 ucidef_set_led_ide() {
-       _ucidef_set_led_trigger "$1" "$2" "$3" ide-disk
+       _ucidef_set_led_trigger "$1" "$2" "$3" disk-activity
 }
 
 ucidef_set_led_netdev() {