Change rc.d/syscons to not need /usr/sbin/ispcvt to exist. This should

make it work for all non-i386 syscons platforms.
This commit is contained in:
peter 2003-12-10 15:48:49 +00:00
parent 70c39838d7
commit 996dcd98e5

View File

@ -44,13 +44,15 @@ viddev=/dev/ttyv0
syscons_precmd()
{
if [ -c $kbddev ] && \
[ -x /usr/sbin/ispcvt ] && \
! /usr/sbin/ispcvt
if [ ! -c $kbddev ]
then
return 0
return 1
fi
return 1
if [ -x /usr/sbin/ispcvt ] && /usr/sbin/ispcvt
then
return 1
fi
return 0
}
syscons_start()