remove hardcoded file list which won't match with SL6
authorS.Çağlar Onur <caglar@verivue.com>
Tue, 15 Mar 2011 18:05:57 +0000 (14:05 -0400)
committerS.Çağlar Onur <caglar@verivue.com>
Tue, 15 Mar 2011 18:06:09 +0000 (14:06 -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):