mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-14 22:32:30 +01:00
Deprecate "/dev/vga". Use /dev/ttyv0 always. Note that the terminal type
is still 'pc3' in /etc/ttys, and should be changed if we decide to default to syscons.
This commit is contained in:
parent
2b1c7c76c3
commit
205c41b457
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=1010
@ -71,7 +71,7 @@
|
||||
# tw* xten power controller
|
||||
# snd* various sound cards
|
||||
#
|
||||
# $Id: MAKEDEV,v 1.21 1993/12/24 11:36:28 rgrimes Exp $
|
||||
# $Id: MAKEDEV,v 1.22 1994/01/10 18:11:30 ache Exp $
|
||||
#
|
||||
|
||||
PATH=/sbin:/bin/:/usr/bin:/usr/sbin:
|
||||
@ -289,9 +289,6 @@ pty*)
|
||||
rm -f pty%s%x; mknod pty%s%x c 6 %d; ", \
|
||||
n, i, n, i, b+i, n, i, n, i, b+i); }'`
|
||||
umask 77
|
||||
if [ $class = 1 ]; then
|
||||
mv ttyqf ttyv0; mv ptyqf ptyv0
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
@ -395,8 +392,8 @@ tw*)
|
||||
pc*)
|
||||
chr=12
|
||||
minor=0
|
||||
name=vga
|
||||
rm -f ${name} kbd kbdco vgaco ttyv[0-9][0-9]
|
||||
name=ttyv0
|
||||
rm -f ${name} vga kbd kbdco vgaco ttyv[0-9][0-9]
|
||||
mknod ${name} c ${chr} ${minor}
|
||||
chown root.wheel $name
|
||||
;;
|
||||
|
@ -71,7 +71,7 @@
|
||||
# tw* xten power controller
|
||||
# snd* various sound cards
|
||||
#
|
||||
# $Id: MAKEDEV,v 1.21 1993/12/24 11:36:28 rgrimes Exp $
|
||||
# $Id: MAKEDEV,v 1.22 1994/01/10 18:11:30 ache Exp $
|
||||
#
|
||||
|
||||
PATH=/sbin:/bin/:/usr/bin:/usr/sbin:
|
||||
@ -289,9 +289,6 @@ pty*)
|
||||
rm -f pty%s%x; mknod pty%s%x c 6 %d; ", \
|
||||
n, i, n, i, b+i, n, i, n, i, b+i); }'`
|
||||
umask 77
|
||||
if [ $class = 1 ]; then
|
||||
mv ttyqf ttyv0; mv ptyqf ptyv0
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
@ -395,8 +392,8 @@ tw*)
|
||||
pc*)
|
||||
chr=12
|
||||
minor=0
|
||||
name=vga
|
||||
rm -f ${name} kbd kbdco vgaco ttyv[0-9][0-9]
|
||||
name=ttyv0
|
||||
rm -f ${name} vga kbd kbdco vgaco ttyv[0-9][0-9]
|
||||
mknod ${name} c ${chr} ${minor}
|
||||
chown root.wheel $name
|
||||
;;
|
||||
|
2
etc/ttys
2
etc/ttys
@ -3,7 +3,7 @@
|
||||
#
|
||||
# name getty type status comments
|
||||
#
|
||||
console "/usr/libexec/getty Pc" pc3 on secure
|
||||
ttyv0 "/usr/libexec/getty Pc" pc3 on secure
|
||||
tty00 "/usr/libexec/getty std.9600" unknown off secure
|
||||
tty01 "/usr/libexec/getty std.9600" unknown off secure
|
||||
tty02 "/usr/libexec/getty std.9600" unknown off secure
|
||||
|
Loading…
Reference in New Issue
Block a user