Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/etc Move ttyU* before tty*, otherwise it will not work to ma...
details: https://anonhg.NetBSD.org/src/rev/8dc493da3fee
branches: trunk
changeset: 475836:8dc493da3fee
user: augustss <augustss%NetBSD.org@localhost>
date: Fri Aug 27 14:06:05 1999 +0000
description:
Move ttyU* before tty*, otherwise it will not work to make ttyU device nodes.
diffstat:
etc/etc.arm32/MAKEDEV | 30 +++++++++++++++---------------
etc/etc.macppc/MAKEDEV | 30 +++++++++++++++---------------
2 files changed, 30 insertions(+), 30 deletions(-)
diffs (106 lines):
diff -r a03f460a7777 -r 8dc493da3fee etc/etc.arm32/MAKEDEV
--- a/etc/etc.arm32/MAKEDEV Fri Aug 27 10:49:20 1999 +0000
+++ b/etc/etc.arm32/MAKEDEV Fri Aug 27 14:06:05 1999 +0000
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $NetBSD: MAKEDEV,v 1.37 1999/08/25 23:06:47 augustss Exp $
+# $NetBSD: MAKEDEV,v 1.38 1999/08/27 14:06:05 augustss Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -260,6 +260,20 @@
chmod 640 $name$unit? r$name$unit?
;;
+ttyU*)
+ unit=${i#ttyU}
+ ttyU=ttyU$unit
+ dtyU=dtyU$unit
+ ctyU=ctyU$unit
+ major=74
+ rm -f $ttyU $dtyU $ctyU
+ mknod $ttyU c $major $(($unit + $dialin ))
+ mknod $dtyU c $major $(($unit + $dialout ))
+ mknod $ctyU c $major $(($unit + $callunit))
+ chown uucp.wheel $ttyU $dtyU $ctyU
+ chmod 600 $ttyU $dtyU $ctyU
+ ;;
+
tty*)
unit=${i#???}
rm -f tty0$unit dty0$unit
@@ -499,20 +513,6 @@
chmod 600 $ulpt
;;
-ttyU*)
- unit=${i#ttyU}
- ttyU=ttyU$unit
- dtyU=dtyU$unit
- ctyU=ctyU$unit
- major=74
- rm -f $ttyU $dtyU $ctyU
- mknod $ttyU c $major $(($unit + $dialin ))
- mknod $dtyU c $major $(($unit + $dialout ))
- mknod $ctyU c $major $(($unit + $callunit))
- chown uucp.wheel $ttyU $dtyU $ctyU
- chmod 600 $ttyU $dtyU $ctyU
- ;;
-
ugen*)
unit=${i#ugen}
ugen=ugen$unit
diff -r a03f460a7777 -r 8dc493da3fee etc/etc.macppc/MAKEDEV
--- a/etc/etc.macppc/MAKEDEV Fri Aug 27 10:49:20 1999 +0000
+++ b/etc/etc.macppc/MAKEDEV Fri Aug 27 14:06:05 1999 +0000
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $NetBSD: MAKEDEV,v 1.15 1999/08/25 23:06:48 augustss Exp $
+# $NetBSD: MAKEDEV,v 1.16 1999/08/27 14:06:06 augustss Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -245,6 +245,20 @@
chmod 640 $name$unit? r$name$unit?
;;
+ttyU*)
+ unit=${i#ttyU}
+ ttyU=ttyU$unit
+ dtyU=dtyU$unit
+ ctyU=ctyU$unit
+ major=44
+ rm -f $ttyU $dtyU $ctyU
+ mknod $ttyU c $major $(($unit + $dialin ))
+ mknod $dtyU c $major $(($unit + $dialout ))
+ mknod $ctyU c $major $(($unit + $callunit))
+ chown uucp.wheel $ttyU $dtyU $ctyU
+ chmod 600 $ttyU $dtyU $ctyU
+ ;;
+
tty*)
unit=${i#???}
rm -f tty0$unit dty0$unit
@@ -444,20 +458,6 @@
chmod 600 $ulpt
;;
-ttyU*)
- unit=${i#ttyU}
- ttyU=ttyU$unit
- dtyU=dtyU$unit
- ctyU=ctyU$unit
- major=44
- rm -f $ttyU $dtyU $ctyU
- mknod $ttyU c $major $(($unit + $dialin ))
- mknod $dtyU c $major $(($unit + $dialout ))
- mknod $ctyU c $major $(($unit + $callunit))
- chown uucp.wheel $ttyU $dtyU $ctyU
- chmod 600 $ttyU $dtyU $ctyU
- ;;
-
ugen*)
unit=${i#ugen}
ugen=ugen$unit
Home |
Main Index |
Thread Index |
Old Index