Browse Source

clean up: remove the correct devices before trying to create them

OPENBSD_2_5
jason 26 years ago
parent
commit
efa30027a3
1 changed files with 5 additions and 5 deletions
  1. +5
    -5
      src/etc/etc.sparc/MAKEDEV

+ 5
- 5
src/etc/etc.sparc/MAKEDEV View File

@ -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`


Loading…
Cancel
Save