summaryrefslogtreecommitdiff
path: root/etc/etc.alpha/MAKEDEV
diff options
context:
space:
mode:
authorEric Jackson <ericj@cvs.openbsd.org>2000-09-13 22:12:40 +0000
committerEric Jackson <ericj@cvs.openbsd.org>2000-09-13 22:12:40 +0000
commitaba00ee552e1edcd26571b9836b8737f1e6cdd62 (patch)
treea574d5db8504f1b3fe2bb123eaf2b1c75ff64b75 /etc/etc.alpha/MAKEDEV
parentc11e54526db11f4ef15f95b653f63b1681c3fb31 (diff)
more cleanups for wscons devices
Diffstat (limited to 'etc/etc.alpha/MAKEDEV')
-rw-r--r--etc/etc.alpha/MAKEDEV13
1 files changed, 10 insertions, 3 deletions
diff --git a/etc/etc.alpha/MAKEDEV b/etc/etc.alpha/MAKEDEV
index 0bdd790fe5e..5ae5bcc8654 100644
--- a/etc/etc.alpha/MAKEDEV
+++ b/etc/etc.alpha/MAKEDEV
@@ -1,5 +1,5 @@
#!/bin/sh -
-# $OpenBSD: MAKEDEV,v 1.47 2000/09/09 15:44:59 ericj Exp $
+# $OpenBSD: MAKEDEV,v 1.48 2000/09/13 22:12:39 ericj Exp $
# $NetBSD: MAKEDEV,v 1.8.4.1 1996/06/18 00:41:56 cgd Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
@@ -154,7 +154,7 @@ all)
sh $this uk0 uk1 ss0 ss1
sh $this ttyc0 ttyc1 ttyc2 ttyc3 ttyc4 ttyc5 ttyc6 ttyc7
sh $this local xfs0
- sh $this wscons
+ sh $this wscons ttyEcfg
;;
raminst)
@@ -164,13 +164,14 @@ raminst)
sh $this rd0 bpf0
sh $this ttyB0 ttyB1 ttyC0 ttyC1 ttyE0 ttyE1 pty0
sh $this wsmouse0 wskbd0
+ sh $this ttyEcfg
;;
wscons)
sh $this ttyE0 ttyE1 ttyE2 ttyE3 ttyE4 ttyE5 ttyE6 ttyE7
sh $this wsmouse0 wsmouse1 wsmouse2 wsmouse3
sh $this wskbd0 wskbd1 wskbd2 wskbd3
- sh $this wsmux
+ sh $this ttyEcfg wsmux
;;
wsmux|wskbd|wsmouse)
@@ -315,6 +316,12 @@ cd*)
umask 77
;;
+ttyEcfg)
+ rm -f $i
+ mknod $i c 25 255
+ chown root:wheel $i
+ ;;
+
ttyE*)
type=E
unit=${i##ttyE}