diff options
author | Bill Nottingham <notting@redhat.com> | 2004-11-01 20:30:26 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2004-11-01 20:30:26 +0000 |
commit | 14749d001aead74d2a21263048c2bff8f53ad1bd (patch) | |
tree | f326cb41924f073d5b5ea07ffdfd1c20ba70d94c /rc.d/rc.sysinit | |
parent | 705b576449428955bbb2d319d58091d037bc818d (diff) | |
download | initscripts-14749d001aead74d2a21263048c2bff8f53ad1bd.tar initscripts-14749d001aead74d2a21263048c2bff8f53ad1bd.tar.gz initscripts-14749d001aead74d2a21263048c2bff8f53ad1bd.tar.bz2 initscripts-14749d001aead74d2a21263048c2bff8f53ad1bd.tar.xz initscripts-14749d001aead74d2a21263048c2bff8f53ad1bd.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 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 |