summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>1998-03-02 14:32:27 +0000
committerJason Wright <jason@cvs.openbsd.org>1998-03-02 14:32:27 +0000
commit65eab98b6aaf74e99cf060d2b0190624f3ab385a (patch)
tree37d513d9fb851790379a4cfee334d046c729299f /etc
parentec9f615b67c0d549aaf74323e067517954d0887a (diff)
But only if explicitly asked for (until zs code is finialized)
Diffstat (limited to 'etc')
-rw-r--r--etc/etc.sparc/MAKEDEV17
1 files changed, 15 insertions, 2 deletions
diff --git a/etc/etc.sparc/MAKEDEV b/etc/etc.sparc/MAKEDEV
index bcee8fef078..5e5b2745542 100644
--- a/etc/etc.sparc/MAKEDEV
+++ b/etc/etc.sparc/MAKEDEV
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $OpenBSD: MAKEDEV,v 1.38 1998/03/02 14:20:32 jason Exp $
+# $OpenBSD: MAKEDEV,v 1.39 1998/03/02 14:32:26 jason Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -480,8 +480,21 @@ tty[a-z])
*) echo unknown tty device $i ;;
esac
mknod tty$unit c 12 $n
+ chown uucp.wheel tty$unit
+ ;;
+
+cua[a-z])
+ unit=`expr $i : 'cua\([a-z]\)'`
+ rm -f cua$unit
+ case $unit in
+ a) n=0 ;;
+ b) n=1 ;;
+ c) n=4 ;;
+ d) n=5 ;;
+ *) echo unknown cua device $i ;;
+ esac
mknod cua$unit c 12 `add $n 128`
- chown uucp.wheel tty$unit cua$unit
+ chown uucp.wheel cua$unit
;;
pty*)