aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/rc.sysinit
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2004-11-01 20:31:01 +0000
committerBill Nottingham <notting@redhat.com>2004-11-01 20:31:01 +0000
commit1dc4d3e4d7c81a95a6ec38b55fd8746259514e75 (patch)
tree80b4b03e91dfc9f3123b097653b82dd64ebe1e7d /rc.d/rc.sysinit
parentdea577dd66346d5bfe9a65cb0eec0bf33a655b1b (diff)
downloadinitscripts-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-xrc.d/rc.sysinit2
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