From owner-freebsd-questions@FreeBSD.ORG Thu Jul 1 05:28:35 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DB31A106567A for ; Thu, 1 Jul 2010 05:28:35 +0000 (UTC) (envelope-from kdk@daleco.biz) Received: from ezekiel.daleco.biz (southernuniform.com [66.76.92.18]) by mx1.freebsd.org (Postfix) with ESMTP id 9462B8FC0A for ; Thu, 1 Jul 2010 05:28:35 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by ezekiel.daleco.biz (8.14.3/8.14.2) with ESMTP id o615SUan049017; Thu, 1 Jul 2010 00:28:31 -0500 (CDT) (envelope-from kdk@daleco.biz) X-Virus-Scanned: amavisd-new at daleco.biz Received: from ezekiel.daleco.biz ([127.0.0.1]) by localhost (ezekiel.daleco.biz [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 1mh-g+czGHPR; Thu, 1 Jul 2010 00:28:28 -0500 (CDT) Received: from archangel.daleco.biz (ezekiel.daleco.biz [66.76.92.18]) by ezekiel.daleco.biz (8.14.3/8.14.3) with ESMTP id o615SMV7049012; Thu, 1 Jul 2010 00:28:23 -0500 (CDT) (envelope-from kdk@daleco.biz) Message-ID: <4C2C2776.7090908@daleco.biz> Date: Thu, 01 Jul 2010 00:28:22 -0500 From: Kevin Kinsey User-Agent: Thunderbird 2.0.0.24 (X11/20100504) MIME-Version: 1.0 To: Chris Stankevitz References: <511898.25578.qm@web52907.mail.re2.yahoo.com> In-Reply-To: <511898.25578.qm@web52907.mail.re2.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Rob Farmer , freebsd-questions@freebsd.org Subject: Re: rc.conf: gnome_enable="YES" - which instructions executed? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jul 2010 05:28:35 -0000 Chris Stankevitz wrote: >> From: Rob Farmer >>> Q: Where on my hard drive can I find the instructions >> executed to "enable" GNOME? >> >> This enables dbus, avahi, hal, and gdm (assuming that they >> are installed, of course). See the files for those things in >> /usr/local/etc/rc.d for the details of what is run. >> >> See: >> http://www.freebsd.org/gnome/docs/faq2.html#full-gnome > > Rob, > > Thank you for your response. I also saw that comment in > the docs; however, I am actually not interested in knowing > what gnome_enable="YES" does. I should have been more clear. > > I would like to learn more about how rc operates. I want > to know where on the hard drive the instructions are > located that activate when I say gnome_enable="YES". > I naively thought I would find a file called "/usr/local/etc/rc.d/gnome" > -- but I did not. Something more complicated is going > on. So my question is -- how is this working? > > Thank you, > Err, Magic? More seriously, `man rc` and several hours of cross-references (rc.subr., rc.conf., rc.local, etc. etc.) might be enlightening. HTH, Kevin Kinsey