]> git.pld-linux.org Git - projects/rc-scripts.git/commitdiff
- give some info what's going on when loading modules
authorJan Rękorajski <baggins@pld-linux.org>
Mon, 31 Oct 2011 19:30:04 +0000 (19:30 +0000)
committerJan Rękorajski <baggins@pld-linux.org>
Mon, 31 Oct 2011 19:30:04 +0000 (19:30 +0000)
svn-id: @12402

rc.d/rc.sysinit

index 267eab2443bcee56fd724f009f7f0fe3362acd57..0fe745fcd5e28e852ced2e1993a654bb5e2c0798 100755 (executable)
@@ -109,7 +109,9 @@ load_kernel_modules() {
                [ -z "$module" ] && continue
                # strip comments
                args=${args%%#*}
-               modprobe -s $module -- $args
+               show "Loading %s kernel module(s)" "$module"
+               busy
+               modprobe -s $module -- $args && ok || fail
        done
 }
 
This page took 0.580857 seconds and 4 git commands to generate.