diff options
author | obrien <obrien@FreeBSD.org> | 1998-10-29 22:16:29 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 1998-10-29 22:16:29 +0000 |
commit | 0ebc9c6d0339e27be2dd36247ea6c58cf91f98d5 (patch) | |
tree | ce5a8313354317186133719a3ac638c38d9ff4af /etc/MAKEDEV | |
parent | dea39ed229c31c36a00f0edc68bad766778a7685 (diff) | |
download | FreeBSD-src-0ebc9c6d0339e27be2dd36247ea6c58cf91f98d5.zip FreeBSD-src-0ebc9c6d0339e27be2dd36247ea6c58cf91f98d5.tar.gz |
``MAKEDEV bpf3'' is now consistant with many of the other devices in that
bpf{0,1,2} will be created.
Diffstat (limited to 'etc/MAKEDEV')
-rw-r--r-- | etc/MAKEDEV | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/etc/MAKEDEV b/etc/MAKEDEV index 362cf46..d600b06 100644 --- a/etc/MAKEDEV +++ b/etc/MAKEDEV @@ -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) |