Profile rc idea

Yves Guérin yvesguerin at yahoo.ca
Mon Jun 1 12:14:12 UTC 2009


Dear Doug,

I will do some doc to explain what I have done, I will try to produce a patch but my coding style may not follow the freebsd style and a review form the freebsd team will be necessary.

Regards,

Yves Guerin


--- En date de : Sam 30.5.09, Doug Barton <dougb at FreeBSD.org> a écrit :

De: Doug Barton <dougb at FreeBSD.org>
Objet: Re: Profile rc idea
À: yvesguerin at yahoo.ca
Cc: freebsd-rc at freebsd.org
Date: Samedi 30 Mai 2009, 0h19

Yves Guérin wrote:
> I did something similar to your idea, I custom the boot menu (beastie.4th) to choose between home, office, dhcp and default configuration for my network interface on my laptop.
> I grab the answer or the choice via the kenv system call, and on my rc directory I start my own script just before netif to configure my network depending on the answer I choose at boot time. So I think the idea can be modify for every used that you can dream of.
> 
> I am able to send you my configuration, the boot menu and the rc file.

I really like the idea of leveraging the existing boot menu for this.
Can you send your patches to the list?


Doug



      


More information about the freebsd-rc mailing list