Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Aug 2004 17:04:08 +0100
From:      Soo-Hyun Choi <shchoi@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: editing the rc.conf
Message-ID:  <34b425c5040827090448542797@mail.gmail.com>
In-Reply-To: <200408271817.19544.nvass@teledome.gr>
References:  <34b425c504082705446816dc77@mail.gmail.com> <200408271817.19544.nvass@teledome.gr>

next in thread | previous in thread | raw e-mail | index | archive | help
A couple of people suggested to read the ifconfig man page. I do
understand the ifconfig, and I can change the IP settings using
ifconfig without re-booting the system.

What I wondered was a way of editing rc.conf directly and how I can it
be working without re-boot the system. As Nikos suggested, it would
not be a good way if there is only one way to go for it by using
'shutdown now' command; as it kills all the running processes.

Cheers,


On Fri, 27 Aug 2004 18:17:19 +0300, Nikos Vassiliadis <nvass@teledome.gr> wrote:
> Ifconfig was mentioned. You can also reinitialize your system
> with shutdown(8). Shutdown will bring the system in single-user state
> (will kill all processes) and when you exit that, you'll have all changes
> made to rc.conf, active. Use "shutdown now" and then just exit the
> single-user shell.
> 
> Cheers, NikV
> 
> 
> 
> On Friday 27 August 2004 15:44, Soo-Hyun Choi wrote:
> > Hi,
> >
> > When I need to change the IP settings, I usually go over the rc.conf
> > directly (as root) to change the IP settings. The question is that
> > once I change the settings I need to re-boot the system in order to
> > the change be working.
> >
> > Is there any way that I can apply the changes without re-booting the
> > system?
> >
> > Cheers,
> > Soo-Hyun
> > _______________________________________________
> > 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"
> 
>



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