Date: Mon, 22 Nov 2004 13:54:44 +0100 (CET) From: Konrad Heuer <kheuer2@gwdg.de> To: David Jenkins <david.jenkins@gmail.com> Cc: v.demartino2@virgilio.it Subject: Re: Restarting rc.conf Message-ID: <20041122134230.F71605@gwdu60.gwdg.de> In-Reply-To: <9395922d04112204346673e1ad@mail.gmail.com> References: <41536B85000AC932@ims3e.cp.tin.it> <20041122114050.GL22677@lb.tenfour> <9395922d04112204346673e1ad@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 22 Nov 2004, David Jenkins wrote: > On Mon, 22 Nov 2004 11:40:50 +0000, Dick Davies > > <rasputnik@hellooperator.net> wrote: > > * v.demartino2@virgilio.it <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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041122134230.F71605>