summaryrefslogtreecommitdiffstats
path: root/etc/MAKEDEV
diff options
context:
space:
mode:
authorgpalmer <gpalmer@FreeBSD.org>1995-05-15 06:55:18 +0000
committergpalmer <gpalmer@FreeBSD.org>1995-05-15 06:55:18 +0000
commit249601e430867deecbd2c883f63602500005eaba (patch)
tree6ff145ea02bd7b45deded747c2e5c31d1561bcf9 /etc/MAKEDEV
parentad0a2407f547e45373455e020abd83ae9373a5d1 (diff)
downloadFreeBSD-src-249601e430867deecbd2c883f63602500005eaba.zip
FreeBSD-src-249601e430867deecbd2c883f63602500005eaba.tar.gz
Clean up the matcd entry so it deletes the *matcdl* entries before trying
to create new ones. Reviewed by: davidg, rgrimes
Diffstat (limited to 'etc/MAKEDEV')
-rw-r--r--etc/MAKEDEV4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/MAKEDEV b/etc/MAKEDEV
index 083b288..70327ba 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`
OpenPOWER on IntegriCloud