mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-30 06:32:44 +00:00
22 lines
392 B
Bash
Executable File
22 lines
392 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
|