freebsd-skq/etc/pccard_ether
Nate Williams 5d9d7f34a7 PC-CARD hooks. Someday it will actually enable working code. :)
Reviewed by:	phk
Submitted by:	Tatsumi Hosokawa <hosokawa@mt.cs.keio.ac.jp> & BSD Nomads

I re-wrote alot of this, but the ideas are based on the code from the
most recent pccard-snapshot.
1996-03-12 15:39:26 +00:00

22 lines
391 B
Bash
Executable File

#!/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