Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 05 Mar 2005 10:07:31 -0800
From:      Ben Munat <bent@munat.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: reload rc.conf without rebooting
Message-ID:  <4229F563.1020809@munat.com>
In-Reply-To: <20050305110330.GA45280@scode-whitestar.mine.nu>
References:  <4226AFAD.4040100@munat.com> <20050303101807.GE1127@orion.daedalusnetworks.priv> <20050305110330.GA45280@scode-whitestar.mine.nu>

next in thread | previous in thread | raw e-mail | index | archive | help
Peter Schuller wrote:
>>>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).
> 
Thanks.... yeah, I figured that. However, in this case I had simply added 
"keymap="us.iso"" to the rc.conf. So, I had to stop all my daemons just to change my 
keymap. Now, this was just on my home box, so I don't really care. But I'm running FreeBSD 
on this home machine as a test to see if I want to put it on my server. This rc.conf thing 
  was another significant strike against it. Someone correct me if I got this wrong...

b



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