mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-16 15:44:04 +01:00
c3fa356aba
PR: 3978 Submitted by: Janick.Taillandier@ratp.fr
22 lines
386 B
Bash
Executable File
22 lines
386 B
Bash
Executable File
#!/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
|