diff options
author | nate <nate@FreeBSD.org> | 1996-03-12 15:39:26 +0000 |
---|---|---|
committer | nate <nate@FreeBSD.org> | 1996-03-12 15:39:26 +0000 |
commit | 38eb2b368673f5ff345496b145b73de48dc230f5 (patch) | |
tree | 285c6fd953dcea611c949ecc3e0e3eb2c3b17c19 /etc/pccard_ether | |
parent | 4673b20df958499becc8cf99763415e5cfc23a9a (diff) | |
download | FreeBSD-src-38eb2b368673f5ff345496b145b73de48dc230f5.zip FreeBSD-src-38eb2b368673f5ff345496b145b73de48dc230f5.tar.gz |
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.
Diffstat (limited to 'etc/pccard_ether')
-rwxr-xr-x | etc/pccard_ether | 21 |
1 files changed, 21 insertions, 0 deletions
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 |