d566d2f52b
netbsd-tap is the "pkgsrcized" version of the implementation of tap(4) that can be found in NetBSD-current. It is compatible with NetBSD 2.0 and above.
8 lines
183 B
Bash
8 lines
183 B
Bash
#!@SH@
|
|
|
|
rm -f /dev/tap /dev/tap0 /dev/tap1 /dev/tap2 /dev/tap3
|
|
mknod /dev/tap c $3 0xfffff
|
|
mknod /dev/tap0 c $3 0
|
|
mknod /dev/tap1 c $3 1
|
|
mknod /dev/tap2 c $3 2
|
|
mknod /dev/tap3 c $3 3
|