summaryrefslogtreecommitdiff
path: root/etc/etc.powerpc/MAKEDEV
diff options
context:
space:
mode:
authorDale S. Rahn <rahnds@cvs.openbsd.org>1997-05-05 16:40:51 +0000
committerDale S. Rahn <rahnds@cvs.openbsd.org>1997-05-05 16:40:51 +0000
commit81eb3dc0b83c74a1e04c58315798c799bd9b2b5c (patch)
treef70a64f2d552cc5a24ca40b626d81e372627230a /etc/etc.powerpc/MAKEDEV
parent5f4eb0baa66971342a343012cda3036c47d904f4 (diff)
Before creating the rd nodes, remove the old ones.
Diffstat (limited to 'etc/etc.powerpc/MAKEDEV')
-rw-r--r--etc/etc.powerpc/MAKEDEV1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/etc.powerpc/MAKEDEV b/etc/etc.powerpc/MAKEDEV
index cc7b2b47f83..5107078f3e0 100644
--- a/etc/etc.powerpc/MAKEDEV
+++ b/etc/etc.powerpc/MAKEDEV
@@ -324,6 +324,7 @@ tun*)
rd*)
blk=17; chr=17;
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}c b ${blk} `expr $unit '*' 16 + 2`
mknod rrd${unit}a c ${chr} `expr $unit '*' 16 + 0`