diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-08-29 17:43:19 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-08-29 17:43:19 +0000 |
commit | a62e86858a988daad5e0875865e3f3c5b446a20e (patch) | |
tree | fd4f71ab39dba47428e74069ba9405ab342874a1 /etc | |
parent | 4d2dc3d24161a2f5a22fad73aa69f1e1597d223f (diff) |
support cua devices
Diffstat (limited to 'etc')
-rw-r--r-- | etc/etc.arc/MAKEDEV | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/etc/etc.arc/MAKEDEV b/etc/etc.arc/MAKEDEV index 44b47eb657a..7c7a65167eb 100644 --- a/etc/etc.arc/MAKEDEV +++ b/etc/etc.arc/MAKEDEV @@ -1,6 +1,6 @@ #!/bin/sh - # -# $OpenBSD: MAKEDEV,v 1.4 1996/08/28 08:55:21 deraadt Exp $ +# $OpenBSD: MAKEDEV,v 1.5 1996/08/29 17:43:18 deraadt Exp $ # @(#)MAKEDEV 8.1 (Berkeley) 6/9/93 # @@ -52,7 +52,7 @@ do case $i in all) - sh MAKEDEV std fd fd0 sd0 sd1 sd2 st0 cd0 tty0 tty1 pty0 pty1 + sh MAKEDEV std fd fd0 sd0 sd1 sd2 st0 cd0 tty00 tty01 pty0 pty1 sh MAKEDEV ttyC0 lpt0 pms0 random bpf0 local ;; @@ -214,9 +214,10 @@ lpt*) tty*) unit=`expr $i : '...\(.*\)'` - rm -f tty0$unit - mknod tty0$unit c 17 $unit - chown uucp.wheel tty0$unit + rm -f tty$unit cua$unit + mknod tty$unit c 17 $unit + mknod cua$unit c 17 `expr $unit + 128` + chown uucp.wheel tty$unit cua$unit ;; pty*) |