#! /bin/sh
#
# This script is executed by modload after the vif driver has
# been loaded. It creates the device file, attaches it, and does
# a netstat so you can see the vif interfaces are present.
#
echo "rm -f /dev/vif"
rm -f /dev/vif
echo "mknod /dev/vif c $4 0"
mknod /dev/vif c $4 0
echo "echo > /dev/vif"
echo > /dev/vif
echo "netstat -ian"
netstat -ian
