From 996dcd98e5724c5fd1cf71a8cefda45729291d4d Mon Sep 17 00:00:00 2001 From: peter Date: Wed, 10 Dec 2003 15:48:49 +0000 Subject: [PATCH] Change rc.d/syscons to not need /usr/sbin/ispcvt to exist. This should make it work for all non-i386 syscons platforms. --- etc/rc.d/syscons | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/etc/rc.d/syscons b/etc/rc.d/syscons index 234f5b21fb37..6f61b6d5f91c 100644 --- a/etc/rc.d/syscons +++ b/etc/rc.d/syscons @@ -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()