Browse Source

Before creating the rd nodes, remove the old ones.

OPENBSD_2_1
rahnds 27 years ago
parent
commit
577ca66e27
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      src/etc/etc.powerpc/MAKEDEV

+ 1
- 0
src/etc/etc.powerpc/MAKEDEV View File

@ -324,6 +324,7 @@ tun*)
rd*) rd*)
blk=17; chr=17; blk=17; chr=17;
umask 2 ; unit=`expr $i : '.*d\(.*\)'` umask 2 ; unit=`expr $i : '.*d\(.*\)'`
rm -f rd${unit}a rd${unit}c rrd${unit}a rrd${unit}c
mknod rd${unit}a b ${blk} `expr $unit '*' 16 + 0` mknod rd${unit}a b ${blk} `expr $unit '*' 16 + 0`
mknod rd${unit}c b ${blk} `expr $unit '*' 16 + 2` mknod rd${unit}c b ${blk} `expr $unit '*' 16 + 2`
mknod rrd${unit}a c ${chr} `expr $unit '*' 16 + 0` mknod rrd${unit}a c ${chr} `expr $unit '*' 16 + 0`


Loading…
Cancel
Save