Date: Fri, 6 Jun 2003 17:39:16 +0100 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: DanB <longterm@chatusa.com> Cc: freebsd <questions@freebsd.org> Subject: Re: restart rc.conf.local Message-ID: <20030606163916.GB47795@happy-idiot-talk.infracaninophile.co.uk> In-Reply-To: <3EE0ACA0.8D540CF6@chatusa.com> References: <3EE0ACA0.8D540CF6@chatusa.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--NU0Ex4SbNnrxsi6C Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jun 06, 2003 at 03:00:48PM +0000, DanB wrote: > How do you reload rc.conf.local. Assuming you're running 4.x, about the only sure ways are: i) Drop down to single user mode, and then back to multiuser: # shutdown now [...] # exit ii) Do a complete reboot # shutdown -r now Neither of those solutions will be any good to you if you can't interrupt service on your machine. rc.conf and rc.conf.local aren't executable files in that sense: they are configuration files for the other /etc/rc* scripts, so to apply changes in rc.conf you've got to re-run the /etc/rc* scripts, and that means you've got to reboot. Otherwise you could trace through the /etc/rc* scripts and find out what effect the rc.conf variables you've changed actually have. Then manually run commands to achieve the same effect. Doing this does require quite a deal of knowledge about how the various daemons etc. work and shouldn't be undertaken unless you are sure you know what you're doing. On 5.x with the rcNG stuff, you may be able to stop and restart individual components by using the appropriate rc scripts, but otherwise your choices are as above. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --NU0Ex4SbNnrxsi6C Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE+4MO0dtESqEQa7a0RAiKDAJ4tXPkOYJclNweaUTTECbAS5066TgCfd7ZX rRRZ85LFweksUkPq8LDrO5s= =TtGF -----END PGP SIGNATURE----- --NU0Ex4SbNnrxsi6C--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030606163916.GB47795>