From owner-freebsd-questions Tue Mar 19 16:19: 5 2002 Delivered-To: freebsd-questions@freebsd.org Received: from blacklamb.mykitchentable.net (ekgr-dsl6-t65.citlink.net [207.173.251.65]) by hub.freebsd.org (Postfix) with ESMTP id A85AD37B419 for ; Tue, 19 Mar 2002 16:18:37 -0800 (PST) Received: from tagalong (unknown [192.168.1.28]) by blacklamb.mykitchentable.net (Postfix) with SMTP id 905E7EE64D; Tue, 19 Mar 2002 16:18:36 -0800 (PST) Message-ID: <002001c1cfa4$c7282e50$1c01a8c0@lc.ca.gov> From: "Drew Tomlinson" To: , References: Subject: Re: rc.conf Date: Tue, 19 Mar 2002 16:18:36 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 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 ----- Original Message ----- From: chip.wiegand@simrad.com To: freebsd-questions@freebsd.org Sent: Tuesday, March 19, 2002 3:19 PM Subject: rc.conf 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? I'm going to go out on a limb here and state that it's not possible. If it is, I'm sure I will be corrected. :) The reason I think it's not possible is because the /etc/rc is the master script that's run on startup. I pulls in all the values set in /etc/defaults/rc.conf. It then looks at /etc/rc.conf and uses those values to override the settings pulled in previously. Next, it runs all the rc.* scripts to start the various services. So essentially, if you re-ran /etc/rc you would be rebooting. The question to ask here is, what daemon/process/config in particular do you want to restart with new values? Then kill that daemon and restart it with the appropriate switches. For example, if you're looking to change network configs, look at the ifconfig utility. If you want to change syslogd, kill syslogd and restart with the appropriate switches. OK, so now I await any corrections or ommissions in my answer. After all, this is how I learn too! :) Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message