mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
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
This commit is contained in:
parent
d02ca551d3
commit
7ed8a8260f
2 changed files with 20 additions and 0 deletions
|
|
@ -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=''
|
||||
|
|
|
|||
10
etc/rc.isdn
10
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=''
|
||||
|
|
|
|||
Loading…
Reference in a new issue