From 7ed8a8260fd0799f63702579f5b2e9310bfed163 Mon Sep 17 00:00:00 2001 From: Jens Schweikhardt Date: Sat, 19 May 2001 08:17:35 +0000 Subject: [PATCH] Anti-foot-shooting for pcvt users: ignore isdn_screenflags which is only for syscons. Requested by: Alexander Leidinger MFC after: 7 days --- etc/rc.d/isdnd | 10 ++++++++++ etc/rc.isdn | 10 ++++++++++ 2 files changed, 20 insertions(+) diff --git a/etc/rc.d/isdnd b/etc/rc.d/isdnd index 293ba562806..a3d3e5401e7 100644 --- a/etc/rc.d/isdnd +++ b/etc/rc.d/isdnd @@ -38,6 +38,16 @@ case ${isdn_enable} in [Yy][Ee][Ss]) echo -n 'ISDN subsystem setup:' + # Check for pcvt driver (VT100/VT220 emulator) + # + if [ -x /usr/sbin/ispcvt ]; then + if /usr/sbin/ispcvt; then + # No vidcontrol if we are using pcvt + # + isdn_screenflags=NO + fi + fi + case ${isdn_flags} in [Nn][Oo]) isdn_flags='' diff --git a/etc/rc.isdn b/etc/rc.isdn index 293ba562806..a3d3e5401e7 100644 --- a/etc/rc.isdn +++ b/etc/rc.isdn @@ -38,6 +38,16 @@ case ${isdn_enable} in [Yy][Ee][Ss]) echo -n 'ISDN subsystem setup:' + # Check for pcvt driver (VT100/VT220 emulator) + # + if [ -x /usr/sbin/ispcvt ]; then + if /usr/sbin/ispcvt; then + # No vidcontrol if we are using pcvt + # + isdn_screenflags=NO + fi + fi + case ${isdn_flags} in [Nn][Oo]) isdn_flags=''