From owner-freebsd-questions Tue Mar 19 16:10:54 2002 Delivered-To: freebsd-questions@freebsd.org Received: from marbles.lost.net.au (marbles.lost.net.au [203.56.209.5]) by hub.freebsd.org (Postfix) with ESMTP id 0C6BD37B404 for ; Tue, 19 Mar 2002 16:10:49 -0800 (PST) Received: from localhost (tim@localhost) by marbles.lost.net.au (8.11.6/8.11.3) with ESMTP id g2K0AgX86334; Wed, 20 Mar 2002 10:40:42 +1030 (CST) (envelope-from tim@lost.net.au) Date: Wed, 20 Mar 2002 10:40:42 +1030 (CST) From: tim To: chip.wiegand@simrad.com Cc: freebsd-questions@FreeBSD.ORG Subject: Re: rc.conf In-Reply-To: Message-ID: <20020320103620.G86179-100000@marbles.lost.net.au> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, 19 Mar 2002 chip.wiegand@simrad.com wrote: > I've searched the archives, faq, manual, and google/bsd, all to no avail. > I know this is possible - send a sig hup to rc.conf so it will be re-read > with > the new changes, thus avoiding rebooting the machine. I just don't > remember > the correct way to do it. I saw the answer before, just didn't write it > down, dummy > me. Could someone remind me? The only program that reads rc.conf are the startup scripts (/etc/rc*). You can't just "re-run" them from multiuser mode. You should restart whichever service you've modified the settings for manually (which often, but not always, means sending a SIGHUP to a process). Or, take the machine into single-user mode with the shutdown command. When you exit single-user mode, the rc files are re-executed. (this requires console access). HTH, -- tim@lost.net.au To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message