cvs commit: src/etc/rc.d dhclient
Bruce A. Mah
bmah at FreeBSD.org
Sun Apr 20 11:34:08 PDT 2003
If memory serves me right, Mike Makonnen wrote:
> mtm 2003/04/18 10:53:02 PDT
>
> FreeBSD src repository
>
> Modified files:
> etc/rc.d dhclient
> Log:
> Make use of the dhclient script. This will bring up/down dhcp
> interfaces.
>
> Approved by: markm (mentor)
Hi Mike--
I use a start_if.* script to configure some settings (such as SSID, WEP
keys, etc.) for my wireless cards, which subsequently get their
addresses via DHCP (ifconfig.*="DHCP"). This has worked wonderfully for
quite awhile.
After updating with this change, it looks like my start_if.* scripts
never gets called. It looks like /etc/rc.d/netif only runs these
scripts for non-DHCP interfaces. Moreover there doesn't appear to be
anywhere *else* that invokes the start_if.* scripts either.
What about making dhclient_prestart() do something like this:
for ifn in ${dhcp_list}; do
ifscript_up${ifn}
done
(This works for me, BTW.)
Or am I misunderstanding what start_if.* is used for?
Thanks!
Bruce.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 223 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20030420/ae93b23d/attachment.bin
More information about the freebsd-current
mailing list