#!/bin/sh
# ###############################################################################
# Example script to start and configure the BUN InterFace driver
# (C) GlobespanVirata 2002
# Load the module
insmod /lib/bun_driver.o > /dev/null

# Create three ethernet interfaces corresponding to the two ethernet
# interfaces and an rfc1483-encapsulated ATM link. Modify as needed
if ( grep ethernet1 /etc/initbun ); then
    echo -n e:eth0:/port=ethernet1 > /proc/quantum/drv_ctl;
fi 
if ( grep ethernet2 /etc/initbun ); then
    echo -n e:eth1:/port=ethernet2 > /proc/quantum/drv_ctl;
fi

echo -n e:wan0:/vci=100/rfc1483=true/port=a2 > /proc/quantum/drv_ctl

