nerves_runtime v0.5.0 Nerves.Runtime

Link to this section Summary

Functions

Halt the device (meaning hang, not power off, nor reboot)

Power off the device

Reboot the device and gracefully shutdown the Erlang VM

Link to this section Functions

Link to this function halt()
halt() :: :ok

Halt the device (meaning hang, not power off, nor reboot).

Note: this is different than :erlang.halt(), which exits BEAM, and may end up rebooting the device if erlinit.config settings allow reboot on exit.

Link to this function poweroff()
poweroff() :: :ok

Power off the device.

Link to this function reboot()
reboot() :: :ok

Reboot the device and gracefully shutdown the Erlang VM.