Change vga to ttyv0, with a symlink for X.
This commit is contained in:
parent
1c22264669
commit
3f372179d4
|
@ -41,7 +41,8 @@
|
|||
# vnd* "file" pseudo-disks
|
||||
#
|
||||
# Console ports:
|
||||
# vga stock pccons vga (note it has no keyboard name or minor!)
|
||||
# ttyv0 pccons or pcvt screen 0
|
||||
# ttyv* pcvt
|
||||
#
|
||||
# Pointing devices:
|
||||
# mms* Microsoft bus mouse
|
||||
|
@ -80,7 +81,7 @@ case $i in
|
|||
all)
|
||||
sh MAKEDEV std fd wt0 fd0 fd1 wd0 wd1 sd0 sd1 sd2 tty0 tty1 pty0 pty1
|
||||
sh MAKEDEV st0 st1 ch0 cd0 cd1 mcd0 vnd0 vnd1 lpa0 lpa1
|
||||
sh MAKEDEV lpt0 lpt1 lpt2 vga bpf0 bpf1 bpf2 bpf3 speaker lkm
|
||||
sh MAKEDEV lpt0 lpt1 lpt2 ttyv0 bpf0 bpf1 bpf2 bpf3 speaker lkm
|
||||
sh MAKEDEV mms0 lms0 pms0 audio local
|
||||
# MISSING:
|
||||
# sh MAKEDEV mouse-?
|
||||
|
@ -88,7 +89,7 @@ all)
|
|||
|
||||
floppy)
|
||||
sh MAKEDEV std wt0 fd0 fd1 wd0 wd1 sd0 sd1 sd2 tty0 tty1
|
||||
sh MAKEDEV st0 st1 cd0 cd1 mcd0 vga
|
||||
sh MAKEDEV st0 st1 cd0 cd1 mcd0 ttyv0
|
||||
;;
|
||||
|
||||
std)
|
||||
|
@ -107,6 +108,19 @@ std)
|
|||
mknod stderr c 22 2 ; chmod 666 stderr
|
||||
;;
|
||||
|
||||
ttyv*)
|
||||
unit=`expr $i : 'ttyv\(.*\)'`
|
||||
rm -f ttyv$unit
|
||||
mknod ttyv$unit c 12 $unit
|
||||
chown root.wheel ttyv$unit
|
||||
case $unit in
|
||||
0)
|
||||
rm -f vga
|
||||
ln -s ttyv0 vga
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
|
||||
fd)
|
||||
rm -f fd/*
|
||||
mkdir fd > /dev/null 2>&1
|
||||
|
@ -283,12 +297,6 @@ lpt*)
|
|||
chown root.wheel lpt$unit
|
||||
;;
|
||||
|
||||
vga)
|
||||
rm -f vga
|
||||
mknod vga c 12 0
|
||||
chown root.wheel vga
|
||||
;;
|
||||
|
||||
bpf*)
|
||||
unit=`expr $i : 'bpf\(.*\)'`
|
||||
rm -f bpf$unit
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
#
|
||||
# from: @(#)ttys 5.1 (Berkeley) 4/17/89
|
||||
# $Id: ttys,v 1.6 1994/02/05 12:51:58 deraadt Exp $
|
||||
# $Id: ttys,v 1.7 1994/07/31 08:44:32 mycroft Exp $
|
||||
#
|
||||
# name getty type status comments
|
||||
#
|
||||
console "/usr/libexec/getty Pc" pc3 off secure
|
||||
vga "/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