``MAKEDEV bpf3'' is now consistant with many of the other devices in that

bpf{0,1,2} will be created.
This commit is contained in:
obrien 1998-10-29 22:16:29 +00:00
parent dea39ed229
commit 0ebc9c6d03
2 changed files with 14 additions and 6 deletions

View File

@ -108,7 +108,7 @@
# pci PCI configuration-space access from user mode
# ipl ipfilter control devices (ipl, ipnat, ipstate, ipauth)
#
# $Id: MAKEDEV,v 1.172 1998/09/16 00:10:26 ken Exp $
# $Id: MAKEDEV,v 1.173 1998/10/02 22:33:52 obrien Exp $
#
PATH=/sbin:/bin/:/usr/bin:/usr/sbin:$PATH
@ -755,8 +755,12 @@ vty*)
;;
bpf*)
unit=`expr $i : 'bpf\(.*\)'`
mknod bpf$unit c 23 $unit
nbpf=`expr $i : 'bpf\(.*\)$'`
unit=0
while [ $unit -le $nbpf ]; do
mknod bpf$unit c 23 $unit
unit=`expr $unit + 1`
done
;;
speaker)

View File

@ -108,7 +108,7 @@
# pci PCI configuration-space access from user mode
# ipl ipfilter control devices (ipl, ipnat, ipstate, ipauth)
#
# $Id: MAKEDEV,v 1.172 1998/09/16 00:10:26 ken Exp $
# $Id: MAKEDEV,v 1.173 1998/10/02 22:33:52 obrien Exp $
#
PATH=/sbin:/bin/:/usr/bin:/usr/sbin:$PATH
@ -755,8 +755,12 @@ vty*)
;;
bpf*)
unit=`expr $i : 'bpf\(.*\)'`
mknod bpf$unit c 23 $unit
nbpf=`expr $i : 'bpf\(.*\)$'`
unit=0
while [ $unit -le $nbpf ]; do
mknod bpf$unit c 23 $unit
unit=`expr $unit + 1`
done
;;
speaker)