summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorschweikh <schweikh@FreeBSD.org>2001-05-19 08:17:35 +0000
committerschweikh <schweikh@FreeBSD.org>2001-05-19 08:17:35 +0000
commit09f7f114792c87255b99e286731d347f6849f6d6 (patch)
treeed23b4b0cdcc864e94c1b3fd453a19527045dca3
parent491129cbdf55fe72c10625b06b0c5143509c5fe5 (diff)
downloadFreeBSD-src-09f7f114792c87255b99e286731d347f6849f6d6.zip
FreeBSD-src-09f7f114792c87255b99e286731d347f6849f6d6.tar.gz
Anti-foot-shooting for pcvt users: ignore isdn_screenflags which is
only for syscons. Requested by: Alexander Leidinger <Alexander@Leidinger.net> MFC after: 7 days
-rw-r--r--etc/rc.d/isdnd10
-rw-r--r--etc/rc.isdn10
2 files changed, 20 insertions, 0 deletions
diff --git a/etc/rc.d/isdnd b/etc/rc.d/isdnd
index 293ba56..a3d3e54 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 293ba56..a3d3e54 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=''
OpenPOWER on IntegriCloud