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 Wemm 2003-12-10 15:48:49 +00:00
parent 221ae43b30
commit a0ac36d5f1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=123390

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()