From 64cecefe435a83fceb255370a598268aacc20df3 Mon Sep 17 00:00:00 2001 From: Gary Palmer Date: Mon, 15 May 1995 06:55:18 +0000 Subject: [PATCH] Clean up the matcd entry so it deletes the *matcdl* entries before trying to create new ones. Reviewed by: davidg, rgrimes --- etc/MAKEDEV | 4 ++-- etc/etc.i386/MAKEDEV | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/etc/MAKEDEV b/etc/MAKEDEV index 083b2880dbe3..70327bad1407 100644 --- a/etc/MAKEDEV +++ b/etc/MAKEDEV @@ -85,7 +85,7 @@ # isdn* ISDN devices # labpc* National Instrument's Lab-PC and LAB-PC+ # -# $Id: MAKEDEV,v 1.91 1995/05/07 23:04:03 ache Exp $ +# $Id: MAKEDEV,v 1.92 1995/05/11 20:39:36 jkh Exp $ # PATH=/sbin:/bin/:/usr/bin:/usr/sbin: @@ -585,7 +585,7 @@ matcd*) case $i in matcd*) unit=`expr $i : '.....\(.*\)'`; name=matcd; blk=17; chr=46;; esac - rm -f $name$unit? r$name$unit? + rm -f $name$unit? r$name$unit? $name$unit?? r$name$unit?? case $unit in 0|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15) mknod ${name}${unit}a b $blk `expr $unit '*' 8 + 0` diff --git a/etc/etc.i386/MAKEDEV b/etc/etc.i386/MAKEDEV index 083b2880dbe3..70327bad1407 100644 --- a/etc/etc.i386/MAKEDEV +++ b/etc/etc.i386/MAKEDEV @@ -85,7 +85,7 @@ # isdn* ISDN devices # labpc* National Instrument's Lab-PC and LAB-PC+ # -# $Id: MAKEDEV,v 1.91 1995/05/07 23:04:03 ache Exp $ +# $Id: MAKEDEV,v 1.92 1995/05/11 20:39:36 jkh Exp $ # PATH=/sbin:/bin/:/usr/bin:/usr/sbin: @@ -585,7 +585,7 @@ matcd*) case $i in matcd*) unit=`expr $i : '.....\(.*\)'`; name=matcd; blk=17; chr=46;; esac - rm -f $name$unit? r$name$unit? + rm -f $name$unit? r$name$unit? $name$unit?? r$name$unit?? case $unit in 0|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15) mknod ${name}${unit}a b $blk `expr $unit '*' 8 + 0`