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.
This commit is contained in:
parent
1006f448b7
commit
5b3e8e8d83
@ -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:'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user