Compilation with latest libultrahand (v2.4.2).
List of Changes
- New graceful shutdown implementation for proper cleanup of system module services / resources.
- This feature is used via the new optional
toolbox.jsonentriesshutdown_service,shutdown_cmd, andshutdown_timeout_ms.shutdown_service: specified by the IPC service name for the module (required for functionality).shutdown_cmd: enum value (integer) corresponding to the preset graceful shutdown command (required for functionality).shutdown_timeout_ms: timeout before it resorts to terminating or simply not allowing the change to occur (optional; default value1000/ 1s)
- When
shutdown_serviceandshutdown_cmdare present, the module is treated in the overlay asdynamiceven if it requires a reboot.- If a reboot is required and the shutdown service command fails, the module will simply not toggle off via force terminate.
- If a reboot is not required and the shutdown service command fails, the module will terminate after the shutdown timeout.
- Side-note: This implementation can make more system modules that require a reboot to disable dynamically toggle-able, but how this is done is up to developers to determine.
- This feature is used via the new optional
Full Changelog: 60892d1...v1.5.1