summaryrefslogtreecommitdiff
path: root/etc/etc.mvme68k/MAKEDEV
diff options
context:
space:
mode:
authorDug Song <dugsong@cvs.openbsd.org>1998-11-19 08:19:00 +0000
committerDug Song <dugsong@cvs.openbsd.org>1998-11-19 08:19:00 +0000
commit1793a338f5c2c7929e0dd6f980e102384cf60aad (patch)
tree04acd184a591ab86efc9bc959041eec761f09d64 /etc/etc.mvme68k/MAKEDEV
parent04e116ff50f2005ae92cb5151af4c10bebbf645e (diff)
add support for more ptys
Diffstat (limited to 'etc/etc.mvme68k/MAKEDEV')
-rw-r--r--etc/etc.mvme68k/MAKEDEV17
1 files changed, 14 insertions, 3 deletions
diff --git a/etc/etc.mvme68k/MAKEDEV b/etc/etc.mvme68k/MAKEDEV
index d7197244d9d..79bc6eac943 100644
--- a/etc/etc.mvme68k/MAKEDEV
+++ b/etc/etc.mvme68k/MAKEDEV
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $OpenBSD: MAKEDEV,v 1.25 1998/09/23 07:30:57 todd Exp $
+# $OpenBSD: MAKEDEV,v 1.26 1998/11/19 08:18:57 dugsong Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -33,7 +33,7 @@
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#
-# $OpenBSD: MAKEDEV,v 1.25 1998/09/23 07:30:57 todd Exp $
+# $OpenBSD: MAKEDEV,v 1.26 1998/11/19 08:18:57 dugsong Exp $
#
# Device "make" file. Valid arguments:
# all makes all known devices, including local devices,
@@ -363,10 +363,21 @@ pty*)
3) offset=48 name=s;;
# Note that telnetd, rlogind, and xterm (at least) only look at p-s.
4) offset=64 name=t;;
+ 5) offset=80 name=u;;
+ 6) offset=96 name=v;;
+ 7) offset=112 name=w;;
+ 8) offset=128 name=x;;
+ 9) offset=144 name=y;;
+ 10) offset=160 name=z;;
+ 11) offset=176 name=P;;
+ 12) offset=192 name=Q;;
+ 13) offset=208 name=R;;
+ 14) offset=224 name=S;;
+ 15) offset=240 name=T;;
*) echo bad unit for pty in: $i;;
esac
case $class in
- 0|1|2|3|4)
+ 0|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15)
umask 0
eval `echo $offset $name | awk ' { b=$1; n=$2 } END {
for (i = 0; i < 16; i++)