From: Thomas Albers Date: Wed, 3 Jun 2020 11:42:47 +0000 (+0200) Subject: base-files: fix LED IDE trigger X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=e914de7c96d62c9077ffe9f760b78c86c301ea5a;p=openwrt%2Fstaging%2Frmilecki.git base-files: fix LED IDE trigger 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 [split into separate commit, commit description facelift] Signed-off-by: Petr Štetiar --- diff --git a/package/base-files/files/lib/functions/uci-defaults.sh b/package/base-files/files/lib/functions/uci-defaults.sh index 0d2dcd52415..e551e8fd574 100755 --- a/package/base-files/files/lib/functions/uci-defaults.sh +++ b/package/base-files/files/lib/functions/uci-defaults.sh @@ -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() {