summaryrefslogtreecommitdiffstats
path: root/etc/pccard_ether
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1999-02-10 18:08:16 +0000
committerjkh <jkh@FreeBSD.org>1999-02-10 18:08:16 +0000
commite57466a1c3fb2fd71576a797944c262f7e83c3c4 (patch)
tree18c9a1523b7c8c96ba0b06dd49c5664388b0e955 /etc/pccard_ether
parentfdde373153fe0ee29cd1819aa4d38e1b20bb3565 (diff)
downloadFreeBSD-src-e57466a1c3fb2fd71576a797944c262f7e83c3c4.zip
FreeBSD-src-e57466a1c3fb2fd71576a797944c262f7e83c3c4.tar.gz
Use /etc/defaults/rc.conf everywhere, falling back to /etc/rc.conf
as necessary (for half-assed upgrades).
Diffstat (limited to 'etc/pccard_ether')
-rwxr-xr-xetc/pccard_ether8
1 files changed, 5 insertions, 3 deletions
diff --git a/etc/pccard_ether b/etc/pccard_ether
index 546a54d..1c6081e 100755
--- a/etc/pccard_ether
+++ b/etc/pccard_ether
@@ -1,14 +1,16 @@
#!/bin/sh -
#
-# $Id:$
+# $Id: pccard_ether,v 1.9 1998/09/02 01:34:56 brian Exp $
#
# pccard_ether interfacename [ifconfig option]
#
# example: pccard_ether ep0 -link0
#
-# Suck in the /etc/rc.conf variables
-if [ -f /etc/rc.conf ]; then
+# Suck in the configuration variables
+if [ -f /etc/defaults/rc.conf ]; then
+ . /etc/defaults/rc.conf
+elif [ -f /etc/rc.conf ]; then
. /etc/rc.conf
fi
OpenPOWER on IntegriCloud