Date: Sun, 20 Apr 2003 11:34:05 -0700 From: bmah@FreeBSD.org (Bruce A. Mah) To: Mike Makonnen <mtm@FreeBSD.org> Cc: freebsd-current@FreeBSD.org Subject: Re: cvs commit: src/etc/rc.d dhclient Message-ID: <200304201834.h3KIY5xV064981@bmah.dyndns.org> In-Reply-To: <200304181753.h3IHr21e013688@repoman.freebsd.org> References: <200304181753.h3IHr21e013688@repoman.freebsd.org>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
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.
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)
Comment: Exmh version 2.5+ 20020506
iD8DBQE+ougd2MoxcVugUsMRApGtAJ9z1Oxocc5fXdo3cxLB6q2IWpxS2QCfR+hG
5SJ88B65FmS0cs4gMAI2Oto=
=xA5L
-----END PGP SIGNATURE-----
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200304201834.h3KIY5xV064981>
