Some fixes on the alix led script.
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 6 May 2010 12:08:18 +0000 (14:08 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 6 May 2010 12:08:18 +0000 (14:08 +0200)
src/initscripts/init.d/leds

index 4927b63..4e678c5 100644 (file)
@@ -34,7 +34,7 @@ reset_trigger() {
 }
 
 start_alix2() {
-       modprobe -q leds-alix2
+       modprobe -q leds-alix2 &>/dev/null
 
        local i
        for i in 1 2 3; do
@@ -58,6 +58,7 @@ case "${1}" in
                for i in alix2; do
                  ${1}_${i}
                done
+               exit 0
                ;;
 
        *)