From 38eb2b368673f5ff345496b145b73de48dc230f5 Mon Sep 17 00:00:00 2001 From: nate Date: Tue, 12 Mar 1996 15:39:26 +0000 Subject: PC-CARD hooks. Someday it will actually enable working code. :) Reviewed by: phk Submitted by: Tatsumi Hosokawa & BSD Nomads I re-wrote alot of this, but the ideas are based on the code from the most recent pccard-snapshot. --- etc/pccard_ether | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 etc/pccard_ether (limited to 'etc/pccard_ether') diff --git a/etc/pccard_ether b/etc/pccard_ether new file mode 100755 index 0000000..7ab5103 --- /dev/null +++ b/etc/pccard_ether @@ -0,0 +1,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 -- cgit v1.1