aboutsummaryrefslogblamecommitdiff
path: root/etc/pccard_ether
blob: b792623124776101b89b038cc9cf261e7c3ef3da (plain) (tree)
1
2
3
4
5
6
7
8
9
10






                                             


                                    

  
                                          







                                                       
#!/bin/sh -
#
# pccardether interfacename [ifconfig option]
#
# example: pccardether ep0 -link0
#

# Suck in the /etc/rc.conf variables
if [ -f /etc/rc.conf ]; then
	. /etc/rc.conf
fi

if [ "x$pccard_ifconfig" != "xNO" ] ; then
	if [ "x$pccard_ifconfig" = "xDHCP" ] ; then
		# DHCP currently not implemented
	else
		interface=$1
		shift
		ifconfig $interface $pccard_ifconfig $*
	fi
fi