diff options
Diffstat (limited to 'etc/etc.vax/MAKEDEV')
-rw-r--r-- | etc/etc.vax/MAKEDEV | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/etc/etc.vax/MAKEDEV b/etc/etc.vax/MAKEDEV index d53b59337af..03dc9995bb6 100644 --- a/etc/etc.vax/MAKEDEV +++ b/etc/etc.vax/MAKEDEV @@ -1,6 +1,6 @@ #!/bin/sh - # -# $OpenBSD: MAKEDEV,v 1.46 2002/05/16 21:14:49 miod Exp $ +# $OpenBSD: MAKEDEV,v 1.47 2002/06/09 05:58:39 todd Exp $ # $NetBSD: MAKEDEV,v 1.30 2000/01/21 12:28:29 tsutsui Exp $ # # @(#)MAKEDEV 8.1 (Berkeley) 6/9/93 @@ -169,7 +169,7 @@ ht*|tm*|mt*|ts*|ut*) chown root.operator {,r}$name{$four,$twelve} chmod 660 {,n,r,nr}$name{$unit,$eight} chmod 660 {,r}$name{$four,$twelve} - if [ $i = ut ] + if [ $i = ut ] then rm -f $name$twenty r$name$twenty mknod $name$twenty b $blk $twenty @@ -235,7 +235,7 @@ mt*) case $unit in 0|1|2|3|4|5|6|7) eight=`expr $unit + 0`; - twelve=`expr $unit + 4`; + twelve=`expr $unit + 4`; sixteen=`expr $unit + 8`; twenty=`expr $unit + 12`; rm -f mt8 mt12 mt16 mt20 nmt8 nrmt8 rmt8 rmt12 rmt16 rmt20 @@ -377,10 +377,10 @@ ch*|uk*) rd*) unit=${i#rd}; blk=23; chr=62; rm -f rd${unit}{a,c} #rrd${unit}{a,c} - mknod rd${unit}a b $blk $(($unit * 16 + 0)) - mknod rd${unit}c b $blk $(($unit * 16 + 2)) -# mknod rrd${unit}a c $chr $(($unit * 16 + 0)) -# mknod rrd${unit}c c $chr $(($unit * 16 + 2)) + mknod rd${unit}a b $blk $(($unit * 16 + 0)) + mknod rd${unit}c b $blk $(($unit * 16 + 2)) +# mknod rrd${unit}a c $chr $(($unit * 16 + 0)) +# mknod rrd${unit}c c $chr $(($unit * 16 + 2)) chgrp operator rd${unit}? #rrd${unit}? chmod 640 rd${unit}? #rrd${unit}? ;; |