diff options
author | Bill Nottingham <notting@redhat.com> | 2004-11-01 20:31:01 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2004-11-01 20:31:01 +0000 |
commit | 1dc4d3e4d7c81a95a6ec38b55fd8746259514e75 (patch) | |
tree | 80b4b03e91dfc9f3123b097653b82dd64ebe1e7d /rc.d/rc.sysinit | |
parent | dea577dd66346d5bfe9a65cb0eec0bf33a655b1b (diff) | |
download | initscripts-1dc4d3e4d7c81a95a6ec38b55fd8746259514e75.tar initscripts-1dc4d3e4d7c81a95a6ec38b55fd8746259514e75.tar.gz initscripts-1dc4d3e4d7c81a95a6ec38b55fd8746259514e75.tar.bz2 initscripts-1dc4d3e4d7c81a95a6ec38b55fd8746259514e75.tar.xz initscripts-1dc4d3e4d7c81a95a6ec38b55fd8746259514e75.zip |
fix blacklisting to not mismatch on substrings (#137755)
Diffstat (limited to 'rc.d/rc.sysinit')
-rwxr-xr-x | rc.d/rc.sysinit | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index 86e1c99e..e022f862 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -165,7 +165,7 @@ eval `kmodule | while read devtype mod ; do done` load_module () { - LC_ALL=C fgrep -q "$1" /etc/hotplug/blacklist 2>/dev/null || modprobe $1 >/dev/null 2>&1 + LC_ALL=C fgrep -xq "$1" /etc/hotplug/blacklist 2>/dev/null || modprobe $1 >/dev/null 2>&1 } # IDE |