Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Jul 2011 02:48:31 +0000
From:      Antonio Olivares <olivares14031@gmail.com>
To:        Aryeh Friedman <aryeh.friedman@gmail.com>
Cc:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: how to force a hard reboot remotely
Message-ID:  <CAJ5UdcPp2FU1uMgAcMDAu_YAY__=NLTEQrSy1ugVMDZZ7HDyvA@mail.gmail.com>
In-Reply-To: <CAGBxaXnz3cD6ZKaDiDW_YEWpdhwjkAUBLM07T0_2NkpGc5QfmA@mail.gmail.com>
References:  <CAGBxaXnz3cD6ZKaDiDW_YEWpdhwjkAUBLM07T0_2NkpGc5QfmA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jul 17, 2011 at 2:40 AM, Aryeh Friedman
<aryeh.friedman@gmail.com> wrote:
> Is there any way to force a complete power down and then reset of a
> i386 without physically being present?
> _______________________________________________

Sure!

If I understand your question correctly, reboot yes, shutdown then
powerup by itself *Don't know :( *

You can setup a crontab (as root user or with setuid ),

something like
30 09 * * * /sbin/init 6 > /dev/null;

would reboot the machine at 9:30 am.  But if you mean shut it down and
then restart it automatically, I don't know for sure if it can be
done?

Regards,

Antonio



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