Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Oct 1998 14:01:56 +1030
From:      Greg Lehey <grog@lemis.com>
To:        The Sequence <thesequence@seqlogic.com>, questions@FreeBSD.ORG
Subject:   Re: Rereading configuration files
Message-ID:  <19981030140156.M5846@freebie.lemis.com>
In-Reply-To: <034301be03b0$56cdae00$0200000a@spaceball1.seqlogic.com>; from The Sequence on Thu, Oct 29, 1998 at 09:52:31PM -0500
References:  <034301be03b0$56cdae00$0200000a@spaceball1.seqlogic.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday, 29 October 1998 at 21:52:31 -0500, The Sequence wrote:
> Date: Thursday, October 29, 1998 21:51
> From: Hugh Blandford <hugh@island.net.au>
>
>> Maybe this should be in newbies.

No.

>> How do I get the system to reread the info in rc.conf?  I know that you
>> don't need to run shutdown.
>
> Is there a way to do that??
>
> I never heard of this....
>
> I thought you had to at least shutdown and exit back into the system...

There is no good reason to ever do this, but if you want to do it, you
can do:

  # sh /etc/rc.conf

The result will be: nothing.

/etc/rc.conf is a file which is read by /etc/rc, the system startup
script.  I don't know what would happen if you ran /etc/rc again,
since it does things like checking the file systems and bringing the
system up into multi-user mode.  I would strongly discourage doing so.

The real question isn't "How do I get the system to reread the info in
rc.conf?", of course.  You want to do something governed by parameters
in that file.  What is it?

Greg
--
See complete headers for address, home page and phone numbers
finger grog@lemis.com for PGP public key

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



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