From: S.Çağlar Onur Date: Tue, 15 Mar 2011 18:05:57 +0000 (-0400) Subject: remove hardcoded file list which won't match with SL6 X-Git-Tag: bootcd-5.0-10~1^2 X-Git-Url: http://git.onelab.eu/?p=bootcd.git;a=commitdiff_plain;h=e140378d7802c19ed577a193cfe2d14b901dcc29 remove hardcoded file list which won't match with SL6 --- diff --git a/initscripts/pl_hwinit b/initscripts/pl_hwinit index 2c0a7aa..7985511 100755 --- a/initscripts/pl_hwinit +++ b/initscripts/pl_hwinit @@ -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):