diff options
author | Bill Nottingham <notting@redhat.com> | 2004-11-01 20:31:10 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2004-11-01 20:31:10 +0000 |
commit | 4a0903848012cbe7c69b1f04e7fee3678e4db0bf (patch) | |
tree | 0f4431db41cdac8fb7d91a8333ec7516aaa8e5b9 /rc.d | |
parent | 5fa37e7da23da05de87c39acec335f849cf56bb6 (diff) | |
download | initscripts-4a0903848012cbe7c69b1f04e7fee3678e4db0bf.tar initscripts-4a0903848012cbe7c69b1f04e7fee3678e4db0bf.tar.gz initscripts-4a0903848012cbe7c69b1f04e7fee3678e4db0bf.tar.bz2 initscripts-4a0903848012cbe7c69b1f04e7fee3678e4db0bf.tar.xz initscripts-4a0903848012cbe7c69b1f04e7fee3678e4db0bf.zip |
fix blacklisting to not mismatch on substrings (#137755)
Diffstat (limited to 'rc.d')
-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 9871917d..fe72fd27 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 |