|
@ -1,6 +1,6 @@ |
|
|
#!/bin/sh - |
|
|
#!/bin/sh - |
|
|
# |
|
|
# |
|
|
# $OpenBSD: MAKEDEV,v 1.30 2001/05/30 02:11:20 deraadt Exp $ |
|
|
|
|
|
|
|
|
# $OpenBSD: MAKEDEV,v 1.31 2001/06/24 23:36:05 kjell Exp $ |
|
|
# |
|
|
# |
|
|
# Copyright (c) 1990 The Regents of the University of California. |
|
|
# Copyright (c) 1990 The Regents of the University of California. |
|
|
# All rights reserved. |
|
|
# All rights reserved. |
|
@ -33,7 +33,7 @@ |
|
|
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
|
|
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
|
|
# SUCH DAMAGE. |
|
|
# SUCH DAMAGE. |
|
|
# |
|
|
# |
|
|
# $OpenBSD: MAKEDEV,v 1.30 2001/05/30 02:11:20 deraadt Exp $ |
|
|
|
|
|
|
|
|
# $OpenBSD: MAKEDEV,v 1.31 2001/06/24 23:36:05 kjell Exp $ |
|
|
# |
|
|
# |
|
|
# Device "make" file. Valid arguments: |
|
|
# Device "make" file. Valid arguments: |
|
|
# all makes all known devices, including local devices, |
|
|
# all makes all known devices, including local devices, |
|
@ -93,7 +93,7 @@ all) |
|
|
sh MAKEDEV vnd0 vnd1 pty0 cd0 |
|
|
sh MAKEDEV vnd0 vnd1 pty0 cd0 |
|
|
sh MAKEDEV bpf0 bpf1 bpf2 bpf3 bpf4 bpf5 bpf6 bpf7 bpf8 bpf9 |
|
|
sh MAKEDEV bpf0 bpf1 bpf2 bpf3 bpf4 bpf5 bpf6 bpf7 bpf8 bpf9 |
|
|
#sh MAKEDEV ccd0 ccd1 ccd2 ccd3 |
|
|
#sh MAKEDEV ccd0 ccd1 ccd2 ccd3 |
|
|
sh MAKEDEV tun0 tun1 lkm local |
|
|
|
|
|
|
|
|
sh MAKEDEV pf tun0 tun1 lkm local |
|
|
sh MAKEDEV sram0 nvram0 flash0 vmel0 vmes0 |
|
|
sh MAKEDEV sram0 nvram0 flash0 vmel0 vmes0 |
|
|
#sh MAKEDEV lp0 lptwo0 |
|
|
#sh MAKEDEV lp0 lptwo0 |
|
|
sh MAKEDEV random |
|
|
sh MAKEDEV random |
|
@ -398,6 +398,13 @@ bpf*) |
|
|
chown root.wheel bpf$unit |
|
|
chown root.wheel bpf$unit |
|
|
;; |
|
|
;; |
|
|
|
|
|
|
|
|
|
|
|
pf) |
|
|
|
|
|
rm -f pf |
|
|
|
|
|
mknod pf c 73 0 |
|
|
|
|
|
chown root.wheel pf |
|
|
|
|
|
chmod 600 pf |
|
|
|
|
|
;; |
|
|
|
|
|
|
|
|
tun*) |
|
|
tun*) |
|
|
unit=`expr $i : 'tun\(.*\)'` |
|
|
unit=`expr $i : 'tun\(.*\)'` |
|
|
rm -f tun$unit |
|
|
rm -f tun$unit |
|
|