summaryrefslogtreecommitdiffstats
path: root/etc/pccard_ether
blob: 8a81d30119b3683d89fc4d10cbdf7ce626f6d3c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh -
#
# pccardether interfacename [ifconfig option]
#
# example: pccardether ep0 -link0
#

# Suck in the /etc/sysconfig variables
if [ -f /etc/sysconfig ]; then
	. /etc/sysconfig
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
OpenPOWER on IntegriCloud