From owner-freebsd-rc@FreeBSD.ORG Fri May 29 13:46:24 2009 Return-Path: Delivered-To: freebsd-rc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 37F7E106566B for ; Fri, 29 May 2009 13:46:24 +0000 (UTC) (envelope-from yvesguerin@yahoo.ca) Received: from web56408.mail.re3.yahoo.com (web56408.mail.re3.yahoo.com [216.252.111.87]) by mx1.freebsd.org (Postfix) with SMTP id C1C858FC1A for ; Fri, 29 May 2009 13:46:22 +0000 (UTC) (envelope-from yvesguerin@yahoo.ca) Received: (qmail 58105 invoked by uid 60001); 29 May 2009 13:19:42 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.ca; s=s1024; t=1243603182; bh=UJ6tOQXwmXeIUNIvBQif9L8+303I5jTC9523tsRHY8o=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=TIZ884VHNiFIJtVDJl/MhR3OBf6Kw6svWfOm+W3YB/TYy1Co+kATDGHb6RrTfMdmDSxHfip1BMgGgQYyVwxQujR7xHrVUJrOTVuI5WqFAQqK4XsNttSt5rGsJQ2d57pZTboNFa4j7TeAxeG6UHJKYLYe1dpPW7umXRXU6e73CWk= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.ca; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=kMwWxQ3vDm97VIFxZKUVkGZd8goundCpinSfLyu6ePM0q/cuW0ezwIgebGgXXVnwFhw90A6p4IIhSsPxkRCMOloyljCtylF2J4cKs88vDw/2ZNUegt9XHctLAV5RHwsVE34F/S8EO0Lng59pSBWxwlEqVn2AMTIeZNDYKumdo84=; Message-ID: <302139.58064.qm@web56408.mail.re3.yahoo.com> X-YMail-OSG: HL0xwp8VM1n3YVc7xqiPr_YJN3fJO0elxbjZXTGLuODJFsmwfA4nvqk2QD0u1HLHNT93mL_wT4Cg7R7hQfIgnqmeyIwqtd522x9u3umJe9zzYj_HhMB4G8TEukbngRbDCuaqg873co6gamPiAntKoYoTawItjZPYd8htNr7I1pqPayyKR2csW3eUGOBqxvdG1gO2z7cYomnramdBxPNKN0e8nIy2Rt5nWj1vV644ljrstMa2hYsIIxcsWJttv3Vs7p3IQVeW_z9Q_D9OEHMH6TkFqLh9HCLitMUFplV9CipPoneRUYqfP9x_fbDSB_saDW5NVaRW3j5D4Q-- Received: from [198.168.152.20] by web56408.mail.re3.yahoo.com via HTTP; Fri, 29 May 2009 06:19:42 PDT X-Mailer: YahooMailClassic/5.3.9 YahooMailWebService/0.7.289.10 Date: Fri, 29 May 2009 06:19:42 -0700 (PDT) From: =?iso-8859-1?Q?Yves_Gu=E9rin?= To: freebsd-rc@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Fw : Re : Profile rc idea X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: yvesguerin@yahoo.ca List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 May 2009 13:46:25 -0000 Hello, I forgot to cc to the list, sorry. Yves Guerin --- En date de : Ven 29.5.09, Yves Gu=E9rin a =E9crit= : De: Yves Gu=E9rin Objet: Re : Profile rc idea =C0: "Nathan Lay" 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 netwo= rk interface on my laptop. I grab the answer or the choice via the kenv system call, and on my rc dire= ctory I start my own script just before netif to configure my network depen= ding 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=A0: Ven 29.5.09, Nathan Lay a =E9crit=A0= : De: Nathan Lay Objet: Profile rc idea =C0:=0A freebsd-rc@freebsd.org Date: Vendredi 29 Mai 2009, 4h26 Hi list, It would be interesting if rc was extended to support profiles.=A0 Each pro= file would reflect a different system configuration.=A0 For example profile= s could describe the computing environment at: home, work, friend's house, = airplane, etc... The active profile the system uses could be chosen based o= n some contingency condition.=A0 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...=A0 I g= uess this only pertains to booting though, but rc seems like a natural plac= e to do this.=A0 Thoughts, comments?=A0 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" =0A=0A=0A=0A =0A=0A=0A