Skip to end of metadata
Go to start of metadata



Sets the state of LoxBerry to require a reboot. This can be used for example in a plugin, where a change of a setting requires a reboot of LoxBerry.The function can directly be used without the LBSystem:: prefix.

The function does not trigger a reboot! The user is informed my a message in the footer bar "Reboot required". Clicking the message opens the power widget and all pending reboot_required messages are displayed.



The message that the power widget should display.

If $message is empty, a default message is used.


require "loxberry_system.php";
reboot_required("The changes of the settings of Squeezelite Plugin require a reboot.");
  • No labels