From 1292d50926c3a412c7c4e8720170f493a0f5ab8e Mon Sep 17 00:00:00 2001 From: Mike Westerhof Date: Sun, 5 Apr 2009 21:08:58 -0500 Subject: SlugOS: leds - attempt to modload ledtrig-timer rather than assuming it is built into the kernel. (From Martin Michlmayr) --- recipes/slugos-init/files/leds | 2 ++ 1 file changed, 2 insertions(+) (limited to 'recipes/slugos-init/files/leds') diff --git a/recipes/slugos-init/files/leds b/recipes/slugos-init/files/leds index b40d5d874e..68f0c23a98 100644 --- a/recipes/slugos-init/files/leds +++ b/recipes/slugos-init/files/leds @@ -31,6 +31,8 @@ led_set(){ esac >"$1/brightness";; slow|fast|panic|blink|flash) + modprobe ledtrig-timer > /dev/null 2>&1 || true + echo -n timer case "$setting" in -- cgit v1.2.3