From e140378d7802c19ed577a193cfe2d14b901dcc29 Mon Sep 17 00:00:00 2001 From: =?utf8?q?S=2E=C3=87a=C4=9Flar=20Onur?= Date: Tue, 15 Mar 2011 14:05:57 -0400 Subject: [PATCH] remove hardcoded file list which won't match with SL6 --- initscripts/pl_hwinit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): -- 2.43.0