[oe-commits] Mike Westerhof : SlugOS: leds - attempt to modload ledtrig-timer rather than assuming
GIT User account
git at amethyst.openembedded.net
Mon Apr 6 02:26:22 UTC 2009
Module: openembedded.git
Branch: org.openembedded.dev
Commit: 1292d50926c3a412c7c4e8720170f493a0f5ab8e
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=1292d50926c3a412c7c4e8720170f493a0f5ab8e
Author: Mike Westerhof <mwester at dls.net>
Date: Sun Apr 5 21:08:58 2009 -0500
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 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/recipes/slugos-init/files/leds b/recipes/slugos-init/files/leds
index b40d5d8..68f0c23 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
More information about the Openembedded-commits
mailing list