Try this:  declare("Reboot", null, {value: Date.now()});

On Wed, Jul 26, 2017 at 12:29 PM, guifipedro <[email protected]> wrote:

> Hi community,
>
> I'm using a preset that triggers a provision.
>
> Sadly, I have a specific CPE model that after applying specific
> configuration requires reboot.
>
> When I run this based on doc [1]:
>
> declare("Reboot", { value: now }, { value: now });
>
> seems that the CPE just disconnects and connects again the PPPoE (?)
>
> But If I do a manual reboot using the HTML button [2] on GenieACS GUI
> it reboots as expected.
>
> So I need this real reboot functionality but automated in the provision
> script.
>
> Hope someone knows what's going on
>
> Pedro
>
> [1] https://github.com/zaidka/genieacs/wiki/Provisions#reboot
> [2] <a id="reboot" href="#" onclick="reboot();return false;">Reboot</a>
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.genieacs.com/mailman/listinfo/users
>
_______________________________________________
Users mailing list
[email protected]
http://lists.genieacs.com/mailman/listinfo/users

Reply via email to