Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Mar 2005 10:04:50 +0200
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Bernt Hansson <bernt@bah.homeip.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: rc.conf reloaded
Message-ID:  <20050315080450.GB964@orion.daedalusnetworks.priv>
In-Reply-To: <42368FC6.5040106@bah.homeip.net>
References:  <42368FC6.5040106@bah.homeip.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2005-03-15 08:33, Bernt Hansson <bernt@bah.homeip.net> wrote:
> Hello.
>
> I want to reread the rc.conf file without reboot.

Why?

What you probably want is to apply some change in the settings of rc.conf.
This can usually be done by restarting just the affected components.

There *are* a few changes of rc.conf that may ultimately affect too many
components and/or services of the running system that a plain reboot may be
the best option you have, but you would have to give us more details about
the changes you made before we tell you what's the best thing to do.

What is it exactly that you changed in rc.conf?

> How does one do that?
>
> /etc/netstart restarts the network but /etc/rc.conf does nothing.

True.

The rc.conf file doesn't "do" anything.  It merely contains options and flags
for other startup scripts.  Depending on your FreeBSD version, the scripts
that are affected by rc.conf's contents are either the /etc/rc.* files (for
versions released before FreeBSD 5.3) or /etc/rc.d/* (for 5.3 and newer
releases).



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050315080450.GB964>