summaryrefslogtreecommitdiff
path: root/recipes/slugos-init/files
diff options
context:
space:
mode:
authorMike Westerhof <mwester@dls.net>2009-04-05 21:08:58 -0500
committerMike Westerhof <mwester@dls.net>2009-04-05 21:08:58 -0500
commit1292d50926c3a412c7c4e8720170f493a0f5ab8e (patch)
tree6d93f22b836ce3864af19db89d1b0aa2e3a09847 /recipes/slugos-init/files
parentcc98a1833bbdfbba3ccda5eb30310ed0d7bfbdd5 (diff)
SlugOS: leds - attempt to modload ledtrig-timer rather than assuming
it is built into the kernel. (From Martin Michlmayr)
Diffstat (limited to 'recipes/slugos-init/files')
-rw-r--r--recipes/slugos-init/files/leds2
1 files changed, 2 insertions, 0 deletions
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