Page 1 of 1

[SOLVED] How do you reboot from shell?

Posted: Tue Dec 29, 2015 2:34 pm
by mad_ady
I have a very noob question - I have a H6400 rooted with Skype root. Everything is fine, except I'd like to reboot the TV from shell and I don't know how. The 'reboot' command kills the shell and causes the OSD and remote to freeze, but the TV channel keeps playing. I was looking for a way to simulate power off + power on but without relying on rc injection (not sure I can turn it back on if it's off).

Thanks!

Re: How do you reboot from shell?

Posted: Tue Dec 29, 2015 2:47 pm
by zoelechat

Code: Select all

/sbin/micom reboot
(micom shutdown also works to... shutdown :) )

Re: How do you reboot from shell?

Posted: Tue Dec 29, 2015 2:59 pm
by mad_ady
Thanks! I can't get any usage information out of /sbin/micom. Could you point me in the correct direction to learn what it does (I'm curious by nature). Google had a bunch of vague links mostly ending in "don't touch it or you'll break $stuff"

Re: How do you reboot from shell?

Posted: Tue Dec 29, 2015 3:07 pm
by zoelechat

Code: Select all

/mnt # micom -help
Usage : micom ledoff
     or  : micom ledon
     or  : micom shutdown
     or  : micom reboot
     or  : micom rollback
     or  : micom toggle 0
     or  : micom toggle 1
     or  : micom usb_gpio
Just for info, I personally never used something else than reboot/shutdown. Strongly avoid 'toggle' if you don't want to brick your TV :)

Re: How do you reboot from shell?

Posted: Tue Dec 29, 2015 3:48 pm
by mad_ady
Roger! Thanks