diff options
author | dima <dima@FreeBSD.org> | 1999-05-04 08:34:55 +0000 |
---|---|---|
committer | dima <dima@FreeBSD.org> | 1999-05-04 08:34:55 +0000 |
commit | 4a9df9b6cbeba189ea9846589723cf62aeccb1f2 (patch) | |
tree | 4e605eea7d6c503058ec30f7837f201b2c8b9567 /etc | |
parent | 29d1bb23122ed7523f67a9ed911100238c519b8b (diff) | |
download | FreeBSD-src-4a9df9b6cbeba189ea9846589723cf62aeccb1f2.zip FreeBSD-src-4a9df9b6cbeba189ea9846589723cf62aeccb1f2.tar.gz |
Use ``grep -w'' to prevent catching "pcic_pci"
Diffstat (limited to 'etc')
-rw-r--r-- | etc/rc.d/pccard | 4 | ||||
-rw-r--r-- | etc/rc.pccard | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/etc/rc.d/pccard b/etc/rc.d/pccard index 12425cc..12a4257 100644 --- a/etc/rc.d/pccard +++ b/etc/rc.d/pccard @@ -3,11 +3,11 @@ # PC-card startup script # HOSOKAWA, Tatsumi <hosokawa@mt.cs.keio.ac.jp> # -# $Id: rc.pccard,v 1.9 1999/03/17 20:57:40 nate Exp $ +# $Id: rc.pccard,v 1.10 1999/03/17 21:57:00 nate Exp $ # if [ "X$pccard_enable" = X"YES" ] ; then - builtin=`kldstat -v -i 1 | grep pcic | awk '{print $2}'` + builtin=`kldstat -v -i 1 | grep -w pcic | awk '{print $2}'` if [ "$builtin" = "pcic" ] ; then echo "PCIC module compiled in" else diff --git a/etc/rc.pccard b/etc/rc.pccard index 12425cc..12a4257 100644 --- a/etc/rc.pccard +++ b/etc/rc.pccard @@ -3,11 +3,11 @@ # PC-card startup script # HOSOKAWA, Tatsumi <hosokawa@mt.cs.keio.ac.jp> # -# $Id: rc.pccard,v 1.9 1999/03/17 20:57:40 nate Exp $ +# $Id: rc.pccard,v 1.10 1999/03/17 21:57:00 nate Exp $ # if [ "X$pccard_enable" = X"YES" ] ; then - builtin=`kldstat -v -i 1 | grep pcic | awk '{print $2}'` + builtin=`kldstat -v -i 1 | grep -w pcic | awk '{print $2}'` if [ "$builtin" = "pcic" ] ; then echo "PCIC module compiled in" else |