1996-03-12 15:39:26 +00:00
|
|
|
#!/bin/sh -
|
|
|
|
#
|
|
|
|
# pccardether interfacename [ifconfig option]
|
|
|
|
#
|
|
|
|
# example: pccardether ep0 -link0
|
|
|
|
#
|
|
|
|
|
1997-06-30 19:10:50 +00:00
|
|
|
# Suck in the /etc/rc.conf variables
|
|
|
|
if [ -f /etc/rc.conf ]; then
|
|
|
|
. /etc/rc.conf
|
1996-03-12 15:39:26 +00:00
|
|
|
fi
|
|
|
|
|
1996-04-24 00:04:10 +00:00
|
|
|
if [ "x$pccard_ifconfig" != "xNO" ] ; then
|
1996-03-12 15:39:26 +00:00
|
|
|
if [ "x$pccard_ifconfig" = "xDHCP" ] ; then
|
|
|
|
# DHCP currently not implemented
|
|
|
|
else
|
|
|
|
interface=$1
|
|
|
|
shift
|
|
|
|
ifconfig $interface $pccard_ifconfig $*
|
|
|
|
fi
|
|
|
|
fi
|