pccard_ether revision 27117
1#!/bin/sh -
2#
3# pccardether interfacename [ifconfig option]
4#
5# example: pccardether ep0 -link0
6#
7
8# Suck in the /etc/rc.conf variables
9if [ -f /etc/rc.conf ]; then
10	. /etc/rc.conf
11fi
12
13if [ "x$pccard_ifconfig" != "xNO" ] ; then
14	if [ "x$pccard_ifconfig" = "xDHCP" ] ; then
15		# DHCP currently not implemented
16	else
17		interface=$1
18		shift
19		ifconfig $interface $pccard_ifconfig $*
20	fi
21fi
22