summaryrefslogtreecommitdiffstats
path: root/etc/pccard_ether
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2005-08-24 01:23:49 +0000
committerbrooks <brooks@FreeBSD.org>2005-08-24 01:23:49 +0000
commitec73ff7b51b481542cac8b413f8135224dd6d5cb (patch)
treeeb2bb5b286d6b68110242871bc1f6b4e9bf5fb4d /etc/pccard_ether
parent09bbc99b5a768984ec43bc7dc4680a8a9f2311f9 (diff)
downloadFreeBSD-src-ec73ff7b51b481542cac8b413f8135224dd6d5cb.zip
FreeBSD-src-ec73ff7b51b481542cac8b413f8135224dd6d5cb.tar.gz
- Remove the removable_interfaces variable. /etc/pccard_ether will
now run on any interface. - Add a new ifconfig_<ifn> keyword, NOAUTO which prevents configuration of an interface at boot or via /etc/pccard_ether. This allows /etc/rc.d/netif to be used to start and stop an interface on a purely manual basis. The decision to affect pccard_ether may be revisited at a later date. Requested by: imp, gallatin (removable_interfaces) Discussed with: sam, Randy Bush (NOAUTO)
Diffstat (limited to 'etc/pccard_ether')
-rwxr-xr-xetc/pccard_ether4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/pccard_ether b/etc/pccard_ether
index d752055..04c6f76 100755
--- a/etc/pccard_ether
+++ b/etc/pccard_ether
@@ -61,8 +61,8 @@ shift
load_rc_config pccard_ether
-# Ignore interfaces not in removable_interfaces
-expr "${removable_interfaces}" : ".*${ifn}" > /dev/null || exit 0
+# Ignore interfaces with the NOAUTO keyword
+autoif $ifn || exit 0
if [ -n "$1" ]; then
usage
OpenPOWER on IntegriCloud