Date: Sun, 25 Oct 2015 13:09:03 -0700 From: NGie Cooper <yaneurabeya@gmail.com> To: lev@FreeBSD.org Cc: freebsd-current <freebsd-current@freebsd.org> Subject: Re: What changed in rc.d infrastructure in last months? Message-ID: <731AEB43-6519-4FC4-A115-E45FCFAE8F72@gmail.com> In-Reply-To: <562C2E44-DA31-450F-B867-607047697EFE@gmail.com> References: <16610120144.20151025222025@serebryakov.spb.ru> <DA78289A-176E-44EF-A2A2-1CEE10DF54ED@gmail.com> <28FF29D6-A2D9-46C0-A419-DB433BB9F54A@gmail.com> <606144753.20151025224636@serebryakov.spb.ru> <BDF13153-4947-49C4-8AD8-D6F82368563C@gmail.com> <562C2E44-DA31-450F-B867-607047697EFE@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> On Oct 25, 2015, at 12:58, NGie Cooper <yaneurabeya@gmail.com> wrote: >=20 >=20 >> On Oct 25, 2015, at 12:54, NGie Cooper <yaneurabeya@gmail.com> wrote: >=20 > ... >=20 >> I=E2=80=99ll need to double-check the rcorder and get back to you on = that. >=20 > Answering this part: nope. devd still gets started after netif on my = branch, so it=E2=80=99ll still start hostapd twice: >=20 > $ rcorder `make -VFILES SRCCONF=3D/dev/null` > growfs > ... > netif > devd > ... > $ Ok, this is really not making sense from a design perspective. = `ifconfig_<foo>` is being overloaded for starting up hostap=E2=80=99s = (even though ifconfig itself doesn=E2=80=99t support hostap =E2=80=94 = only `wlanmode ap`). I don=E2=80=99t understand why it was done this way = instead of just creating additional variables for `hostapd_<foo>`, = similar to `ifconfig_<foo>` (other than maybe, it simplified things = because `_ifconfig_getargs` could be used to grab the variables from = `ifconfig_<foo>` =E2=80=94 but it seems like a kludge to me). I=E2=80=99d need to boot up FreeBSD on one of my PC laptops to confirm = what the behavior is (the earliest I will likely be able to do this is = later on today). $ grep -r hostap sbin/ifconfig/ sbin/ifconfig/ifconfig.8:.Cm hostap ), sbin/ifconfig/ifconfig.8:.Cm hostap sbin/ifconfig/ifconfig.8:.Xr hostapd 8 $ Thanks, -NGie=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?731AEB43-6519-4FC4-A115-E45FCFAE8F72>