Add the wscons devices (ttyEx) so you can really login on the Milan in

multi-user mode...
This commit is contained in:
leo 2002-06-12 19:36:31 +00:00
parent 4f2f06c917
commit d463d60e3f
2 changed files with 17 additions and 2 deletions

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $NetBSD: MAKEDEV,v 1.55 2002/03/16 17:03:30 martin Exp $
# $NetBSD: MAKEDEV,v 1.56 2002/06/12 19:36:31 leo Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -68,6 +68,7 @@
#
# Console ports:
# ttye* ite bitmapped consoles
# ttyE* wscons
#
# Pointing devices:
# mouse* Atari mice
@ -156,6 +157,7 @@ all)
makedev audio audio0 audio1 audio2 audio3
makedev isdns
makedev clockctl
makedev wscons
;;
floppy)
@ -375,6 +377,17 @@ cd*)
esac
;;
wscons)
sh $0 ttyE0 ttyE1 ttyE2 ttyE3 ttyE4 ttyE5 ttyE6 ttyE7
;;
ttyE*)
chr=41; unit=${i#ttyE}
rm -f ttyE$unit
mknod ttyE$unit c $chr $unit
chown root.wheel ttyE$unit
;;
ttye*)
unit=${i#ttye}
rm -f ttye${unit}

View File

@ -1,5 +1,5 @@
#
# $NetBSD: ttys,v 1.4 2002/02/13 09:46:04 martti Exp $
# $NetBSD: ttys,v 1.5 2002/06/12 19:36:31 leo Exp $
#
# from: @(#)ttys 5.1 (Berkeley) 4/17/89
#
@ -10,6 +10,8 @@
console "/usr/libexec/getty Pc" vt220 off secure
ttye0 "/usr/libexec/getty Pc" vt220 on secure # ite0 console
ttye1 "/usr/libexec/getty Pc" vt220 on secure # ite1
ttyE0 "/usr/libexec/getty Pc" vt220 on secure # wscons
ttyE1 "/usr/libexec/getty Pc" vt220 on secure # consoles
ttyp0 none network
ttyp1 none network
ttyp2 none network