pccard_ether revision 27117
1231990Smp#!/bin/sh -
259243Sobrien#
359243Sobrien# pccardether interfacename [ifconfig option]
459243Sobrien#
559243Sobrien# example: pccardether ep0 -link0
659243Sobrien#
759243Sobrien
859243Sobrien# Suck in the /etc/rc.conf variables
959243Sobrienif [ -f /etc/rc.conf ]; then
1059243Sobrien	. /etc/rc.conf
1159243Sobrienfi
1259243Sobrien
1359243Sobrienif [ "x$pccard_ifconfig" != "xNO" ] ; then
1459243Sobrien	if [ "x$pccard_ifconfig" = "xDHCP" ] ; then
1559243Sobrien		# DHCP currently not implemented
1659243Sobrien	else
17100616Smp		interface=$1
1859243Sobrien		shift
1959243Sobrien		ifconfig $interface $pccard_ifconfig $*
2059243Sobrien	fi
2159243Sobrienfi
2259243Sobrien