Facility Control

 View Only
  • 1.  Is there a way to hook up the 'Reboot" in ogScript

    Posted 05-19-2016 21:07
    I have a configuration parameter that requires reboot upon change. Is there a way for me to send an OGP_REBOOT request? I am able to reboot my unit using the "Reboot" button available at the bottom of Dashboard. However I would need to send a OGP_REBOOT request to my unit after a user has made modifications that required a reboot.

    Any hints will be appreciated. Thanks


  • 2.  RE: Is there a way to hook up the 'Reboot" in ogScript

    Posted 05-19-2016 21:11
    Reboot is not currently exposed to the ogScript layer - it falls into a category of functions we don't necessarily want happening without direct user interaction.

    What device are you trying to control? Is it possible the device could have a "Reboot" parameter added?
    #DashBoard


  • 3.  RE: Is there a way to hook up the 'Reboot" in ogScript

    Posted 05-19-2016 21:26
    It is the network setting. ie. if I change my unit's e.g. use dhcp settings, the unit would need to reboot for the settings to take effect and working. With set param request I could make the settings happen on my device.There fore I am opted to use SET_PARAM request to change the dhcp settings and then send the OGP_REBOOT cmd to the device
    #DashBoard


  • 4.  RE: Is there a way to hook up the 'Reboot" in ogScript

    Posted 05-20-2016 13:57
    That's a fairly common scenario.
    When we change the network settings on our devices, we have an "Apply" button parameter. When that button is pressed, the SET_PARAM message goes to the device and the device applies its network settings and reboots automatically.
    #DashBoard