summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>1999-01-04 03:47:36 +0000
committerJason Wright <jason@cvs.openbsd.org>1999-01-04 03:47:36 +0000
commit0121bc7327253678e7a9911ec4cfdbb73b24e2a9 (patch)
treef3c9ff2804f63962182dfe47345ea003928f4c44
parentf043eb0a9b5ad482f0b10d4be7cc4c03ee9d30b5 (diff)
clean up: remove the correct devices before trying to create them
-rw-r--r--etc/etc.sparc/MAKEDEV10
1 files changed, 5 insertions, 5 deletions
diff --git a/etc/etc.sparc/MAKEDEV b/etc/etc.sparc/MAKEDEV
index 8b6d10d7333..b7734259fa8 100644
--- a/etc/etc.sparc/MAKEDEV
+++ b/etc/etc.sparc/MAKEDEV
@@ -1,5 +1,5 @@
#!/bin/sh -
-# $OpenBSD: MAKEDEV,v 1.54 1998/12/29 07:59:25 deraadt Exp $
+# $OpenBSD: MAKEDEV,v 1.55 1999/01/04 03:47:35 jason Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -259,12 +259,12 @@ bwtwo*)
;;
cgtwo*)
- rm -f bwtwo$unit
+ rm -f cgtwo$unit
mknod cgtwo$unit c 31 $unit; chmod 666 cgtwo$unit
;;
cgthree*)
- rm -f bwtwo$unit
+ rm -f cgthree$unit
mknod cgthree$unit c 55 $unit; chmod 666 cgthree$unit
;;
@@ -289,7 +289,7 @@ cgfourteen*)
;;
tcx*)
- rm -f cgfourteen$unit
+ rm -f tcx$unit
mknod tcx$unit c 109 $unit; chmod 666 tcx$unit
;;
@@ -483,7 +483,7 @@ vnd*)
rd*)
umask 2 ; unit=`expr $i : '.*d\(.*\)'`
- rm -f rd${unit}*
+ rm -f rd${unit}* rrd${unit}*
mknod rd${unit}a b 17 `expr $unit '*' 16 + 0`
mknod rd${unit}c b 17 `expr $unit '*' 16 + 2`
mknod rrd${unit}a c 106 `expr $unit '*' 16 + 0`