Date: Fri, 29 May 2009 06:19:42 -0700 (PDT) From: =?iso-8859-1?Q?Yves_Gu=E9rin?= <yvesguerin@yahoo.ca> To: freebsd-rc@freebsd.org Subject: Fw : Re : Profile rc idea Message-ID: <302139.58064.qm@web56408.mail.re3.yahoo.com>
next in thread | raw e-mail | index | archive | help
Hello, I forgot to cc to the list, sorry. Yves Guerin --- En date de : Ven 29.5.09, Yves Guérin <yvesguerin@yahoo.ca> a écrit : De: Yves Guérin <yvesguerin@yahoo.ca> Objet: Re : Profile rc idea À: "Nathan Lay" <nslay@comcast.net> Date: Vendredi 29 Mai 2009, 7h14 Dear Sir, 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. Regards, Yves Guerin --- En date de : Ven 29.5.09, Nathan Lay <nslay@comcast.net> a écrit : De: Nathan Lay <nslay@comcast.net> Objet: Profile rc idea À: freebsd-rc@freebsd.org Date: Vendredi 29 Mai 2009, 4h26 Hi list, It would be interesting if rc was extended to support profiles. Each profile would reflect a different system configuration. For example profiles could describe the computing environment at: home, work, friend's house, airplane, etc... The active profile the system uses could be chosen based on some contingency condition. For example, simply prompting the user to choose an rc profile at boot, or using hardware to choose the profile (e.g. like location based contingency using GPS hardware), or whatever... I guess this only pertains to booting though, but rc seems like a natural place to do this. Thoughts, comments? Yet another idea I have no time to try... Best Regards, Nathan Lay _______________________________________________ freebsd-rc@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-rc To unsubscribe, send any mail to "freebsd-rc-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?302139.58064.qm>
