diff options
author | peter <peter@FreeBSD.org> | 2003-12-10 15:48:49 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2003-12-10 15:48:49 +0000 |
commit | 996dcd98e5724c5fd1cf71a8cefda45729291d4d (patch) | |
tree | 4b783dcdf35d73d1a1f20a602ecf700bf3bce839 /etc/rc.d/syscons | |
parent | 70c39838d79126ab77d8d7909fe68fbc4a94ffbd (diff) | |
download | FreeBSD-src-996dcd98e5724c5fd1cf71a8cefda45729291d4d.zip FreeBSD-src-996dcd98e5724c5fd1cf71a8cefda45729291d4d.tar.gz |
Change rc.d/syscons to not need /usr/sbin/ispcvt to exist. This should
make it work for all non-i386 syscons platforms.
Diffstat (limited to 'etc/rc.d/syscons')
-rw-r--r-- | etc/rc.d/syscons | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/etc/rc.d/syscons b/etc/rc.d/syscons index 234f5b2..6f61b6d 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() |