Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Jul 2002 23:09:17 +0000 (GMT)
From:      "Nielsen" <nielsen@memberwebs.com>
To:        "FreeBSD-ISP" <freebsd-isp@FreeBSD.ORG>, "Ralph Forsythe" <rforsythe@centerone.com>
Subject:   Re: Restart without reboot
Message-ID:  <20020720230917.7E05E43B398@mail.npubs.com>
References:  <DBEIKNMKGOBGNDHAAKGNCEALAGAB.dave@hawk-systems.com> <5.1.0.14.2.20020720161747.01c6cff0@mail.centerone.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Each of the variables set in rc.conf get used in a different way. If you can
figure out what that is you can perform the action remotely, without
rebooting or taking down a running system (ie: single user).

Look at the rc.* scripts.

Nate

----- Original Message -----
From: "Ralph Forsythe" <rforsythe@centerone.com>
To: "FreeBSD-ISP" <freebsd-isp@FreeBSD.ORG>
Sent: Saturday, July 20, 2002 16:27
Subject: Re: Restart without reboot


> Or, have it set up to use a serial console, and have that plugged into
> either another PC, or a modem or router of some kind.  Though I think
you'd
> have to reboot to do that...  But once it's set up you don't have to worry
> about it.
>
> -rf
>
> At 12:01 AM 7/21/2002 +0200, Chris Knipe wrote:
> >No,
> >
> >Once the system is in init 1, it is single-user mode.  It only runs one
> >shell, one one console.
> >
> >You'll need to be physically infront of the system...
> >
> >
> >----- Original Message -----
> >From: "Dave [Hawk-Systems]" <dave@hawk-systems.com>
> >To: "Chris Knipe" <savage@savage.za.org>; "FreeBSD-ISP"
> ><freebsd-isp@FreeBSD.ORG>
> >Sent: Saturday, July 20, 2002 11:23 PM
> >Subject: RE: Restart without reboot
> >
> >
> > > can this be done remotely (ie via ssh?)
> > >
> > > >init 1
> > > >init 3
> > > >
> > > >This switches your system to runlevel 1 (what is is when it starts
> > > >up), and when you go back to runlevel 3, your system will "boot up"
> > > >like it normally would do after a reboot.
> > > >
> > > >>I know you can restart just a process by using 'kill -HUP pid', but
> > > >>what process do I need to restart after modifying /etc/rc.conf?
I've
> > > >>always rebooted the machine in the past, but I've heard you can have
> > > >>the rc.conf re-read.
> > >
> > > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > > with "unsubscribe freebsd-isp" in the body of the message
> > >
> > >
> >
> >
> >To Unsubscribe: send mail to majordomo@FreeBSD.org
> >with "unsubscribe freebsd-isp" in the body of the message
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-isp" in the body of the message
>


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




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