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:
parent
70c39838d7
commit
996dcd98e5
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user