support bpf properly
This commit is contained in:
parent
ad15753d94
commit
ed7cdf72a7
|
@ -56,6 +56,7 @@
|
|||
# grf* raw interface to HP300 graphics devices
|
||||
# ite* terminal emulator interface to HP300 graphics devices
|
||||
# hil HP300 HIL input devices
|
||||
# bpf* packet filter
|
||||
|
||||
PATH=/sbin:/bin/:/usr/bin:/usr/sbin
|
||||
umask 77
|
||||
|
@ -117,6 +118,14 @@ ct*|st*)
|
|||
umask 77
|
||||
;;
|
||||
|
||||
bpf*)
|
||||
unit=`expr $i : 'bpf\(.*\)'`
|
||||
rm -f bpf$unit
|
||||
mknod bpf$unit c 105 $unit
|
||||
chmod 600 bpf$unit
|
||||
chown root.wheel bpf$unit
|
||||
;;
|
||||
|
||||
cd*|fd*|rd*|sd*)
|
||||
umask 2 ; unit=`expr $i : '..\(.*\)'`
|
||||
case $i in
|
||||
|
|
|
@ -48,10 +48,10 @@
|
|||
# Special purpose devices:
|
||||
# audio
|
||||
# openprom
|
||||
# bwtwo
|
||||
# cgthree
|
||||
# cgsix
|
||||
# audio
|
||||
# bwtwo*
|
||||
# cgthree*
|
||||
# cgsix*
|
||||
# bpf* packet filter
|
||||
|
||||
PATH=/sbin:/bin/:/usr/bin:/usr/sbin:/usr/etc
|
||||
umask 77
|
||||
|
@ -110,8 +110,12 @@ openprom)
|
|||
mknod openprom c 70 0; chmod 600 openprom
|
||||
;;
|
||||
|
||||
bpf)
|
||||
mknod bpf c 105 0; chmod 600 bpf
|
||||
bpf*)
|
||||
unit=`expr $i : 'bpf\(.*\)'`
|
||||
rm -f bpf$unit
|
||||
mknod bpf$unit c 105 $unit
|
||||
chmod 600 bpf$unit
|
||||
chown root.wheel bpf$unit
|
||||
;;
|
||||
|
||||
fd*|sd*)
|
||||
|
|
Loading…
Reference in New Issue