summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/etc.alpha/MAKEDEV8
-rw-r--r--etc/etc.i386/MAKEDEV17
2 files changed, 10 insertions, 15 deletions
diff --git a/etc/etc.alpha/MAKEDEV b/etc/etc.alpha/MAKEDEV
index 06667e92a01..31b5e165d70 100644
--- a/etc/etc.alpha/MAKEDEV
+++ b/etc/etc.alpha/MAKEDEV
@@ -1,5 +1,5 @@
#!/bin/sh -
-# $OpenBSD: MAKEDEV,v 1.22 1997/08/04 23:43:03 dgregor Exp $
+# $OpenBSD: MAKEDEV,v 1.23 1997/08/06 07:06:48 deraadt 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.
@@ -103,7 +103,8 @@ all)
sh MAKEDEV bpf0 bpf1 bpf2 bpf3 tun0 tun1 tun2 tun3
sh MAKEDEV ttyB0 ttyB1 ttyC0 ttyC1 ttyE0 ttyE1 lkm
sh MAKEDEV mmclock kbd mouse lpa0 lpt0 random ipl
- sh MAKEDEV uk0 uk1 ss0 ss1 cyclades
+ sh MAKEDEV uk0 uk1 ss0 ss1
+ sh MAKEDEV ttyc0 ttyc1 ttyc2 ttyc3 ttyc4 ttyc5 ttyc6 ttyc7
sh MAKEDEV local
;;
@@ -130,9 +131,6 @@ std)
mknod stderr c 10 2 ; chmod 666 stderr
;;
-cyclades)
- sh MAKEDEV ttyc0 ttyc1 ttyc2 ttyc3 ttyc4 ttyc5 ttyc6 ttyc7
-
fd)
rm -f fd/*
mkdir fd > /dev/null 2>&1
diff --git a/etc/etc.i386/MAKEDEV b/etc/etc.i386/MAKEDEV
index 25b46a6ad4d..4ef62f056af 100644
--- a/etc/etc.i386/MAKEDEV
+++ b/etc/etc.i386/MAKEDEV
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $OpenBSD: MAKEDEV,v 1.47 1997/08/04 23:58:15 dgregor Exp $
+# $OpenBSD: MAKEDEV,v 1.48 1997/08/06 07:06:46 deraadt Exp $
# $NetBSD: MAKEDEV,v 1.40 1996/03/31 00:50:47 perry Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
@@ -107,7 +107,7 @@ case $i in
all)
sh MAKEDEV std fd wt0 wd0 wd1 wd2 wd3 sd0 sd1 sd2
sh MAKEDEV tty00 tty01 tty02 tty03 pty0 pty1 st0 st1 ch0 cd0 cd1
- sh MAKEDEV cyclades
+ sh MAKEDEV ttyc0 ttyc1 ttyc2 ttyc3 ttyc4 ttyc5 ttyc6 ttyc7
sh MAKEDEV mcd0 acd0 vnd0 vnd1 lpa0 lpa1 ccd0 ccd1 ccd2 ccd3
sh MAKEDEV lpt0 lpt1 lpt2 ttyC0 ttyC1 ttyC2 bpf0 bpf1 bpf2 bpf3
sh MAKEDEV ipl tun0 tun1 tun2
@@ -154,11 +154,11 @@ ttyC*)
;;
ttyc*)
- unit=`expr $i : 'ttyc(.*\)'`
- rm -f ttyc$unit cuac$unit
- mknod ttyc$unit c $major $minor
- mknod cuac$unit c $major `expr $minor + 128`
- chown uucp.wheel ttyc$unit cuac$unit
+ unit=`expr $i : 'ttyc\(.*\)'`
+ rm -f ttyc$unit cuac$unit
+ mknod ttyc$unit c 38 $unit
+ mknod cuac$unit c 38 `expr $unit + 128`
+ chown uucp.wheel ttyc$unit cuac$unit
;;
fd)
@@ -599,9 +599,6 @@ ss*)
ln -s ss$unit scan$unit
;;
-cyclades)
- sh MAKEDEV ttyc0 ttyc1 ttyc2 ttyc3 ttyc4 ttyc5 ttyc6 ttyc7
-
pctr)
rm -f pctr;
mknod pctr c 46 0