mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-14 22:32:30 +01:00
Clean up the matcd entry so it deletes the *matcdl* entries before trying
to create new ones. Reviewed by: davidg, rgrimes
This commit is contained in:
parent
ff88273903
commit
64cecefe43
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=8528
@ -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`
|
||||
|
@ -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`
|
||||
|
Loading…
Reference in New Issue
Block a user