pccard_ether revision 14596
114596Snate#!/bin/sh -
214596Snate#
314596Snate# pccardether interfacename [ifconfig option]
414596Snate#
514596Snate# example: pccardether ep0 -link0
614596Snate#
714596Snate
814596Snate# Suck in the /etc/sysconfig variables
914596Snateif [ -f /etc/sysconfig ]; then
1014596Snate	. /etc/sysconfig
1114596Snatefi
1214596Snate
1314596Snateif [ "x$pccard_ifconfig" = "xNO" ] ; then
1414596Snate	if [ "x$pccard_ifconfig" = "xDHCP" ] ; then
1514596Snate		# DHCP currently not implemented
1614596Snate	else
1714596Snate		interface=$1
1814596Snate		shift
1914596Snate		ifconfig $interface $pccard_ifconfig $*
2014596Snate	fi
2114596Snatefi
22