Module system System related tasks


Type system

system.init() Initialize the module.
system.reboot(reason) Instruct the ReadyAgent to reboot the system, with an optional reason passed as a string.

Type system

Field(s)

system.init()

Initialize the module.
No service provided by this module will work unless this initializer function has been called first.

Return values

  1. a true value upon success
  2. nil followed by an error message otherwise.

system.reboot(reason)

Instruct the ReadyAgent to reboot the system, with an optional reason passed as a string.

Parameter

Return values

  1. non-nil if the request has been received.
  2. nil followed by an error message otherwise.