Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jan 2007 22:23:14 +0100
From:      Guido Demmenie <rottweilertje@rottnic.nl>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Reread rc.conf....
Message-ID:  <EC30EDF6-DA6D-4972-9CD8-DE4EC45A7750@rottnic.nl>
In-Reply-To: <981F845D-9971-4EF6-AF84-22F220673E9B@u.washington.edu>
References:  <fda61bb50701171155x7115ae7heb973a0b6cb7e305@mail.gmail.com> <1d3ed48c0701171201x4c27de04oa1fb3786110d69cd@mail.gmail.com> <981F845D-9971-4EF6-AF84-22F220673E9B@u.washington.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

On Jan 17, 2007, at 9:55 PM, Garrett Cooper wrote:

> On Jan 17, 2007, at 12:01 PM, Kevin Downey wrote:
>
>> On 1/17/07, Agus <agus.262@gmail.com> wrote:
>>> Hi folks.....
>>> I did some configs in my freebsd and realiza that i didnt have  
>>> the inetd
>>> running. So i addesd inetd_enable="YES" to rc.conf.
>>> Now im trying to reread the rc.conf to make the changes active  
>>> without
>>> restarting....
>>> Is there a way to do it? or i have to start each server it from
>>> rc.dmanually, in these case only inetd; but what if i added a lot of
>>> lines to
>>> rc.conf?
>>>
>>>
>>> i've read this...
>>>
>>> On the console do:
>>>
>>> # shutdown now
>>> (Note: without -r or -h)
>>>
>>> # return
>>> # exit
>>>
>>> Is this the only way to do it?
>>>
>>> Thanxsss
>>> _______________________________________________
>>> freebsd-questions@freebsd.org mailing list
>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>>> To unsubscribe, send any mail to "freebsd-questions- 
>>> unsubscribe@freebsd.org"
>>>
>>
>> /etc/rc.d/inetd restart
>
> The rc scripts in /etc/rc.d always work with the exception for me  
> at least being rpcbind, nfsd, and mountd; those are the ones that I  
> always have to reboot a machine for for some odd reason when I  
> change related settings (unless I'm doing something wrong of course).
> -Garrett

The rc.d scripts indeed mostly work.

A little bit offtopic:
Only /etc/rc.d/mountd won't stop mountd on my 6.0 system. But to  
restart my nfsd I use the next commands

#killall mountd
#/etc/rc.d/nfsd restart

This usualy works to restart and reread my /etc/export file.

Guido



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?EC30EDF6-DA6D-4972-9CD8-DE4EC45A7750>