Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Mar 2005 12:03:32 +0100
From:      Peter Schuller <peter.schuller@infidyne.com>
To:        Giorgos Keramidas <keramida@ceid.upatras.gr>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: reload rc.conf without rebooting
Message-ID:  <20050305110330.GA45280@scode-whitestar.mine.nu>
In-Reply-To: <20050303101807.GE1127@orion.daedalusnetworks.priv>
References:  <4226AFAD.4040100@munat.com> <20050303101807.GE1127@orion.daedalusnetworks.priv>

next in thread | previous in thread | raw e-mail | index | archive | help
> > How does one cause rc.conf to be reread without rebooting? Under linux
> > I would generally do "source somefile.conf". But if I do "source
> > rc.conf", I'm told that all my settings are not commands.
> 
> Generally, you don't.
> 
> For details, see the explanation of the FAQ:
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/admin.html#REREAD-RC

It's worth mentioning that if you're on 5.x and are looking to reload certain
specific settings (such as daemon configurations etc), you can run
/etc/rc.d/affected-script reload (or the equivalent in /usr/local/etc/rc.d).

-- 
/ Peter Schuller, InfiDyne Technologies HB

PGP userID: 0xE9758B7D or 'Peter Schuller <peter.schuller@infidyne.com>'
Key retrieval: Send an E-Mail to getpgpkey@scode.org
E-Mail: peter.schuller@infidyne.com Web: http://www.scode.org



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