diff options
Diffstat (limited to 'etc/etc.mac68k/MAKEDEV')
-rw-r--r-- | etc/etc.mac68k/MAKEDEV | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/etc/etc.mac68k/MAKEDEV b/etc/etc.mac68k/MAKEDEV index ec09b3acdd8..665779241e3 100644 --- a/etc/etc.mac68k/MAKEDEV +++ b/etc/etc.mac68k/MAKEDEV @@ -1,6 +1,6 @@ #!/bin/sh - # -# $OpenBSD: MAKEDEV,v 1.7 1996/08/28 08:55:24 deraadt Exp $ +# $OpenBSD: MAKEDEV,v 1.8 1996/09/18 22:03:43 deraadt Exp $ # # Copyright (c) 1990 The Regents of the University of California. # All rights reserved. @@ -93,10 +93,10 @@ std) rm -f console drum kmem mem reload zero null tty rm -f klog stdin stdout stderr mknod console c 0 0 - mknod drum c 3 0 ; chmod 640 drum ; chgrp kmem drum - mknod kmem c 2 1 ; chmod 640 kmem ; chgrp kmem kmem - mknod mem c 2 0 ; chmod 640 mem ; chgrp kmem mem - mknod reload c 2 20 ; chmod 640 reload ; chgrp kmem reload + mknod drum c 3 0 ; chmod 640 drum ; chown root.kmem drum + mknod kmem c 2 1 ; chmod 640 kmem ; chown root.kmem kmem + mknod mem c 2 0 ; chmod 640 mem ; chown root.kmem mem + mknod reload c 2 20 ; chmod 640 reload ; chown root.kmem reload mknod zero c 2 12 ; chmod 666 zero mknod null c 2 2 ; chmod 666 null mknod tty c 1 0 ; chmod 666 tty @@ -143,7 +143,7 @@ sd*|vnd*|ccd*) mknod r${name}${unit}f c $chr `expr $unit '*' 8 + 5` mknod r${name}${unit}g c $chr `expr $unit '*' 8 + 6` mknod r${name}${unit}h c $chr `expr $unit '*' 8 + 7` - chgrp operator ${name}${unit}[a-h] r${name}${unit}[a-h] + chown root.operator ${name}${unit}[a-h] r${name}${unit}[a-h] chmod 640 ${name}${unit}[a-h] r${name}${unit}[a-h] ;; *) @@ -222,7 +222,7 @@ st*) mknod nr${name}${unit} c $chr `expr $unit '*' 16 + 1` mknod er${name}${unit} c $chr `expr $unit '*' 16 + 2` mknod enr${name}${unit} c $chr `expr $unit '*' 16 + 3` - chgrp operator ${name}${unit} n${name}${unit} \ + chown root.operator ${name}${unit} n${name}${unit} \ e$name$unit en$name$unit \ r${name}${unit} nr${name}${unit} \ er${name}${unit} enr${name}${unit} @@ -247,7 +247,7 @@ ch*) case $unit in 0|1|2|3|4|5|6) mknod ${name}${unit} c $chr `expr $unit '*' 16 + 0` - chgrp operator ${name}${unit} + chown root.operator ${name}${unit} chmod 640 ${name}${unit} ;; *) @@ -269,7 +269,7 @@ cd*) mknod ${name}${unit}d b $blk `expr $unit '*' 8 + 3` mknod r${name}${unit}a c $chr `expr $unit '*' 8 + 0` mknod r${name}${unit}d c $chr `expr $unit '*' 8 + 3` - chgrp operator ${name}${unit}[a-h] r${name}${unit}[a-h] + chown root.operator ${name}${unit}[a-h] r${name}${unit}[a-h] chmod 640 ${name}${unit}[a-h] r${name}${unit}[a-h] ;; *) |