Page 1 of 1

Reboot phidgets sbc2

Posted: Wed May 29, 2013 8:52 am
by Simon.h
Hello

I'd like to know if there is any command to reboot a phidgets sbc2 using java?

Thank for answers

Re: Reboot phidgets sbc2

Posted: Wed May 29, 2013 9:12 am
by Patrick
Just run the 'reboot' program. I'm no sure how to make Java run native programs, but it won't be difficult.

-Patrick

Re: Reboot phidgets sbc2

Posted: Thu May 30, 2013 2:16 am
by Simon.h
Sorry but I don't understand..

Where can I see native programs?

Re: Reboot phidgets sbc2

Posted: Thu May 30, 2013 9:16 am
by Patrick
http://javarevisited.blogspot.ca/2011/0 ... mands.html

The command you want to run is /sbin/reboot

-Patrick

Re: Reboot phidgets sbc2

Posted: Fri May 31, 2013 1:28 am
by Simon.h
Thank you for your help Patrick :)

Bye