summaryrefslogtreecommitdiffstats
path: root/etc/etc.i386/MAKEDEV
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>1998-10-29 22:16:29 +0000
committerobrien <obrien@FreeBSD.org>1998-10-29 22:16:29 +0000
commit0ebc9c6d0339e27be2dd36247ea6c58cf91f98d5 (patch)
treece5a8313354317186133719a3ac638c38d9ff4af /etc/etc.i386/MAKEDEV
parentdea39ed229c31c36a00f0edc68bad766778a7685 (diff)
downloadFreeBSD-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/etc.i386/MAKEDEV')
-rw-r--r--etc/etc.i386/MAKEDEV10
1 files changed, 7 insertions, 3 deletions
diff --git a/etc/etc.i386/MAKEDEV b/etc/etc.i386/MAKEDEV
index 362cf46..d600b06 100644
--- a/etc/etc.i386/MAKEDEV
+++ b/etc/etc.i386/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)
OpenPOWER on IntegriCloud