remove hardcoded file list which won't match with SL6
S.Çağlar Onur [Tue, 15 Mar 2011 18:05:57 +0000 (14:05 -0400)]
initscripts/pl_hwinit

index 2c0a7aa..7985511 100755 (executable)
@@ -32,7 +32,7 @@ def main(argv):
         path = "/lib/modules/%s/modules.pcimap" % kernel
 
     blacklisted_modules = []
-    blacklists = ("blacklist", "blacklist-compat", "blacklist-firewire")
+    blacklists = os.listdir("/etc/modprobe.d")
     for blacklist in blacklists:
         blf = "/etc/modprobe.d/%s" % blacklist
         if os.path.exists(blf):