loop may not always be a module - if not, modprobe will barf, but we should still...
authorfsgqa <fsgqa>
Wed, 5 Jun 2002 02:24:23 +0000 (02:24 +0000)
committerfsgqa <fsgqa>
Wed, 5 Jun 2002 02:24:23 +0000 (02:24 +0000)
common.rc

index d2fea2df0788587b8978a2a59c28663637c077ed..4f54f0b02be45073138aba32b710ce7d933c0401 100644 (file)
--- a/common.rc
+++ b/common.rc
@@ -387,7 +387,7 @@ _require_logdev()
 # 
 _require_loop()
 {
 # 
 _require_loop()
 {
-    modprobe loop
+    modprobe loop >/dev/null 2>&1
     if grep loop /proc/devices >/dev/null 2>&1
     then
        :
     if grep loop /proc/devices >/dev/null 2>&1
     then
        :