change wscons tty names to ttyE* to avoid clashes with the pty namespace

This commit is contained in:
drochner 1998-06-18 15:02:34 +00:00
parent e31c1515a6
commit d099dd6212
1 changed files with 8 additions and 8 deletions

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $NetBSD: MAKEDEV,v 1.64 1998/06/12 15:39:35 drochner Exp $
# $NetBSD: MAKEDEV,v 1.65 1998/06/18 15:02:34 drochner Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -47,7 +47,7 @@
# Console ports:
# ttyv0 pccons or pcvt screen 0
# ttyv* pcvt
# ttyw* wscons
# ttyE* wscons
#
# Pointing devices:
# mms* Microsoft bus mouse
@ -144,14 +144,14 @@ ttyv*)
;;
wscons)
sh $0 ttyw0 ttyw1 ttyw2 ttyw3 ttyw4 ttyw5 ttyw6 ttyw7
sh $0 ttyE0 ttyE1 ttyE2 ttyE3 ttyE4 ttyE5 ttyE6 ttyE7
;;
ttyw*)
chr=47; unit=${i#ttyw}
rm -f ttyw$unit
mknod ttyw$unit c $chr $unit
chown root.wheel ttyw$unit
ttyE*)
chr=47; unit=${i#ttyE}
rm -f ttyE$unit
mknod ttyE$unit c $chr $unit
chown root.wheel ttyE$unit
;;
fd)