diff options
author | brooks <brooks@FreeBSD.org> | 2005-06-07 04:49:12 +0000 |
---|---|---|
committer | brooks <brooks@FreeBSD.org> | 2005-06-07 04:49:12 +0000 |
commit | 5a3d620fb15161572eed8cb406ccb6672fd2f93c (patch) | |
tree | 5b737af62b38f4124fab3c80ff903dbb7a8a0a1d /etc/rc.d/netif | |
parent | 9a851b1b815c8f75342aef3c3bdd9d7943045a0d (diff) | |
download | FreeBSD-src-5a3d620fb15161572eed8cb406ccb6672fd2f93c.zip FreeBSD-src-5a3d620fb15161572eed8cb406ccb6672fd2f93c.tar.gz |
Support code for the OpenBSD dhclient. This significantly changes the
way interfaces are configured. Some key points:
- At startup, all interfaces are configured through /etc/rc.d/netif.
- ifconfig_<if> variables my now mix real ifconfig commands the with
DHCP and WPA directives. For example, this allows media
configuration prior to running dhclient.
- /etc/rc.d/dhclient is not run at startup except by netif to start
dhclient on specific interfaces.
- /etc/pccard_ether calls "/etc/rc.d/netif start <if>" to do most of
it's work.
- /etc/pccard_ether no longer takes additional arguments to pass to
ifconfig. Instead, ifconfig_<if> variables are now honored in favor
of pccard_ifconfig when available.
- /etc/pccard_ether will only run on interfaces specified in
removable_interfaces, even if pccard_ifconfig is set.
Diffstat (limited to 'etc/rc.d/netif')
-rw-r--r-- | etc/rc.d/netif | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc.d/netif b/etc/rc.d/netif index 58a9476..88bccb7 100644 --- a/etc/rc.d/netif +++ b/etc/rc.d/netif @@ -102,8 +102,8 @@ network_common() fi [ -n "$2" ] && _verbose=yes - # Get a list of network interfaces. Do not include dhcp interfaces. - _ifn_list="`list_net_interfaces nodhcp`" + # Get a list of network interfaces. + _ifn_list="`list_net_interfaces`" # Set the scope of the command (all interfaces or just one). # |