DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2007-03-23 15:20:46

dmaxwell
New member
Registered: 2007-03-23
Posts: 3

Shutdown from command line

Hi, I was wondering if it was possible to shut down the unit from the command prompt?

I know it's possible from the web-interface, but I was hoping there was a way to do it while logged in through SSH.

Thank you!!

Offline

 

#2 2007-03-24 08:04:55

beattie
Member / Developer
From: West Coast, USA
Registered: 2006-11-17
Posts: 92
Website

Re: Shutdown from command line

/usr/sbin/do_reboot will reboot.

"touch /tmp/shutdown" will power off

Offline

 

#3 2007-03-25 02:39:38

dmaxwell
New member
Registered: 2007-03-23
Posts: 3

Re: Shutdown from command line

That was great! Thank you very much!

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB