shut down without shutdown

Mike Lovell toelovell at gmail.com
Fri Nov 9 19:58:40 MST 2007


Andres Gonzalez wrote:
> I am working on a dedicated file server using RAID-1 and mdadm. I want
> to be able to run this box without a monitor and keyboard. Also, it
> will not be running 24/7.
>
> Is there any clean way to turn off the box without using the normal
> shutdown? Since I will not be using a keyboard/monitor, I need a way
> to power down gracefully at the end of the day without first executing
> the shutdown command with a keyboard.
>
> I would think that the embedded linux camp would have crossed this
> issue by now.
>
> I can think of some kludgy ways to do this, but I would rather not
> resort to that.
>
> Thanks,
>
> -Andres
>
>
>
>
> /*
> PLUG: http://plug.org, #utah on irc.freenode.net
> Unsubscribe: http://plug.org/mailman/options/plug
> Don't fear the penguin.
> */
>   
Probably the easiest way to do this is to have ssh running. Then when 
you need to shut the machine down, ssh to it and just issue your choice 
of a shutdown command. When ssh shuts down, it will close your 
connection to it.



More information about the PLUG mailing list