]> git.pld-linux.org Git - projects/rc-scripts.git/commitdiff
- small improvement in forcedeth_wourkaround()
authorsiefca <siefca@pld-linux.org>
Sun, 26 Nov 2006 08:06:57 +0000 (08:06 +0000)
committersiefca <siefca@pld-linux.org>
Sun, 26 Nov 2006 08:06:57 +0000 (08:06 +0000)
svn-id: @7993

rc.d/init.d/functions

index 4ac42d4b6e4c8d3094b5848cfcde4bb74f082700..3bc90a69ec9aca1f35fdd1e213059eb5f60b2797 100644 (file)
@@ -900,7 +900,7 @@ forcedeth_workaround()
     
     # TIMERIRQ DISABLED is a token in description, which
     # protects us against system hang - only patched module will have it
-    modinfo forcedeth | grep -qi 'timerirq disabled' || return 0
+    modinfo -F description forcedeth | grep -qi 'timerirq disabled' || return 0
 
     typeset iface bus_dev_fn bus lookfor dev_index cur_state
 
This page took 0.046127 seconds and 4 git commands to generate.