In the BrightScript reference manual, in section 7.6 (page 34) documents the RebootSystem() “global utility function” as causing a soft reboot.
Has anybody gotten this to work?
In my experience so far it seems to be a no-op.
I would really prefer to use a tiny app to reboot than unplugging the DVP.
I wrote a simple “Reboot” channel a couple weeks ago that essentially crashes the system by loading too much information into memory: viewtopic.php?f=28&t=32810&p=206136#p206136
It’s a hack, and has the same side effect of sending logs to Roku as the remote reboot sequence, but it’s easier than unplugging and replugging.
“vaxace” wrote:
In the BrightScript reference manual, in section 7.6 (page 34) documents the RebootSystem() “global utility function” as causing a soft reboot.
Has anybody gotten this to work?
In my experience so far it seems to be a no-op.
I would really prefer to use a tiny app to reboot than unplugging the DVP.
Thanks.
D.
This is most likely a part of the language that’s been restricted on the Roku DVP but is essentially part of BrightScript and available on other BrightScript devices (BrightSign, etc). Allowing any developer’s channel to just reboot the box could be problematic for Roku. Especially if some debugging code got left in a channel that does this.
Allowing any developer’s channel to just reboot the box could be problematic for Roku. Especially if some debugging code got left in a channel that does this.
I absolutely agree with that in an production environment.
Trivial to fix: Only enable it when developer mode is enabled on the box.