1#!/bin/sh - 2#
| 1#!/bin/sh - 2#
|
3# $Id:$
| 3# $Id: pccard_ether,v 1.9 1998/09/02 01:34:56 brian Exp $
|
4# 5# pccard_ether interfacename [ifconfig option] 6# 7# example: pccard_ether ep0 -link0 8# 9
| 4# 5# pccard_ether interfacename [ifconfig option] 6# 7# example: pccard_ether ep0 -link0 8# 9
|
10# Suck in the /etc/rc.conf variables 11if [ -f /etc/rc.conf ]; then
| 10# Suck in the configuration variables 11if [ -f /etc/defaults/rc.conf ]; then 12 . /etc/defaults/rc.conf 13elif [ -f /etc/rc.conf ]; then
|
12 . /etc/rc.conf 13fi 14 15if [ "x$pccard_ifconfig" != "xNO" ] ; then 16 if [ "x$pccard_ifconfig" = "xDHCP" ] ; then 17 if [ -f /usr/local/sbin/dhclient ] ; then 18 if [ -s /var/run/dhclient.pid ] ; then 19 kill `cat /var/run/dhclient.pid`
--- 34 unchanged lines hidden --- | 14 . /etc/rc.conf 15fi 16 17if [ "x$pccard_ifconfig" != "xNO" ] ; then 18 if [ "x$pccard_ifconfig" = "xDHCP" ] ; then 19 if [ -f /usr/local/sbin/dhclient ] ; then 20 if [ -s /var/run/dhclient.pid ] ; then 21 kill `cat /var/run/dhclient.pid`
--- 34 unchanged lines hidden --- |