Turn on debug and capture the output of doing a manual reboot (from the gui) and doing a reboot from a provision.
On Wed, Jul 26, 2017 at 12:44 PM, guifipedro <[email protected]> wrote: > Hi Dan, > > Thanks for your reply > > I tried: > > declare("Reboot", null, {value: Date.now()}); > > but does not work. Does the fast reconnection (down and up PPPoE > interface). I know that's it because Internet's led goes red while > reconnecting > pppoe interface > > If you would like to know more details tell me > > Pedro > > On Wed, Jul 26, 2017 at 10:34 PM, Dan Morphis <[email protected]> wrote: > > 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
