Profile rc idea

Doug Barton dougb at FreeBSD.org
Fri May 29 19:19:18 UTC 2009


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