<div dir="ltr">Try this: <span class="gmail-Apple-tab-span" style="white-space:pre"> </span>declare("Reboot", null, {value: Date.now()});</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 26, 2017 at 12:29 PM, guifipedro <span dir="ltr"><<a href="mailto:guifipedro@gmail.com" target="_blank">guifipedro@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi community,<br>
<br>
I'm using a preset that triggers a provision.<br>
<br>
Sadly, I have a specific CPE model that after applying specific<br>
configuration requires reboot.<br>
<br>
When I run this based on doc [1]:<br>
<br>
declare("Reboot", { value: now }, { value: now });<br>
<br>
seems that the CPE just disconnects and connects again the PPPoE (?)<br>
<br>
But If I do a manual reboot using the HTML button [2] on GenieACS GUI<br>
it reboots as expected.<br>
<br>
So I need this real reboot functionality but automated in the provision script.<br>
<br>
Hope someone knows what's going on<br>
<br>
Pedro<br>
<br>
[1] <a href="https://github.com/zaidka/genieacs/wiki/Provisions#reboot" rel="noreferrer" target="_blank">https://github.com/zaidka/<wbr>genieacs/wiki/Provisions#<wbr>reboot</a><br>
[2] <a id="reboot" href="#" onclick="reboot();return false;">Reboot</a><br>
______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.genieacs.com">Users@lists.genieacs.com</a><br>
<a href="http://lists.genieacs.com/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.genieacs.com/<wbr>mailman/listinfo/users</a><br>
</blockquote></div><br></div>