diff options
author | imp <imp@FreeBSD.org> | 2003-02-12 04:12:23 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2003-02-12 04:12:23 +0000 |
commit | 8412e60e5315f0204f9e88353c9297289d9604e8 (patch) | |
tree | b56153d9d3cac67791c6d056b98bc3d492c6fbc2 /etc | |
parent | feba9b6894909cce4f839eb338af5d42dced7cd6 (diff) | |
download | FreeBSD-src-8412e60e5315f0204f9e88353c9297289d9604e8.zip FreeBSD-src-8412e60e5315f0204f9e88353c9297289d9604e8.tar.gz |
Now that we don't have the NODEVFS case, we can just check to see if a
device node exists directly to see if OLDCARD is compiled into the
kernel. This eliminates the scary warning that people using NEWCARD
are seeing when they have pccard_enable=YES in their /etc/rc.conf
files.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/rc.d/pccard | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/rc.d/pccard b/etc/rc.d/pccard index f0cc1f0..645ee14 100644 --- a/etc/rc.d/pccard +++ b/etc/rc.d/pccard @@ -39,6 +39,9 @@ stop_cmd=":" pccard_start() { + if [ ! -c /dev/card0 ]; then + exit 0 + fi if checkyesno pccard_enable; then echo -n 'Setup PC-CARD:' |