From owner-freebsd-questions@FreeBSD.ORG Mon Nov 22 12:54:47 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5F08C16A4CE for ; Mon, 22 Nov 2004 12:54:47 +0000 (GMT) Received: from gwdu60.gwdg.de (gwdu60.gwdg.de [134.76.8.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 65A0343D1F for ; Mon, 22 Nov 2004 12:54:46 +0000 (GMT) (envelope-from kheuer2@gwdg.de) Received: from gwdu60.gwdg.de (localhost [127.0.0.1]) by gwdu60.gwdg.de (8.12.11/8.12.8) with ESMTP id iAMCsjgt096918; Mon, 22 Nov 2004 13:54:45 +0100 (CET) (envelope-from kheuer2@gwdg.de) Received: from localhost (kheuer2@localhost)iAMCsi7x096915; Mon, 22 Nov 2004 13:54:44 +0100 (CET) X-Authentication-Warning: gwdu60.gwdg.de: kheuer2 owned process doing -bs Date: Mon, 22 Nov 2004 13:54:44 +0100 (CET) From: Konrad Heuer To: David Jenkins In-Reply-To: <9395922d04112204346673e1ad@mail.gmail.com> Message-ID: <20041122134230.F71605@gwdu60.gwdg.de> References: <41536B85000AC932@ims3e.cp.tin.it> <20041122114050.GL22677@lb.tenfour> <9395922d04112204346673e1ad@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: FreeBSD Questions cc: Dick Davies cc: v.demartino2@virgilio.it Subject: Re: Restarting rc.conf X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Nov 2004 12:54:47 -0000 On Mon, 22 Nov 2004, David Jenkins wrote: > On Mon, 22 Nov 2004 11:40:50 +0000, Dick Davies > > wrote: > > * v.demartino2@virgilio.it [1118 11:18]: > > > I set up a postgresql server under FreeBDSD 5.3 stable. > > > > > > My question: if I modify rc.conf either directly or via sysinstall how > > > can I make the system be aware of that WITHOUT REBOOTING, in other words, > > > how can I make FreeBSD execute the modified rc.conf? > > > > Why would you want to do that? Just run the postgres startup script > > (/usr/local/etc/rc.d/000.pgsql.sh) > > I would imagine for convenience - if their reasons are similar to what > mine were. > > i.e if you have made several changes to rc.conf then manually > restarting several services via /etc/rc.d or /usr/local/etc/rc.d or > running ifconfig is monotonous. > > It would be substantially easy if there was a tool/command to just > re-read rc.conf ... How should that be possible? You'd need a tool which "remembers" old rc.conf settings at some location, compares them to the new ones and than re-executes all steps of the boot process which depend on the new values. The day all this will become true, we will have to run some kind of "suseconfig" after modifying rc.conf. No, even worse, it will be senseless to modify rc.conf with a text editor, since you will have to use some kind of "yast" to configure your SuSE FreeBSD. Sorry for the polemics, I couldn't deny it myself ... Regards Konrad Heuer GWDG, Am Fassberg, 37077 Goettingen, Germany, kheuer2@gwdg.de