Apply persistent SolidGroundUX framework management actions
Source: target-root/usr/local/libexec/solidgroundux/manage-solidgroundux.sh
Apply persistent SolidGroundUX framework management actions
Public functions
Internal functions
| Function | Purpose | Arguments | Output |
|---|---|---|---|
_framework_config_validator | Choose a validator for a Framework configuration key. | - $1: Optional: configuration or response-field key. | — |
_framework_config_validate_log_level | Accept one of the supported Framework logging levels. | — | — |
_framework_config_write_value | Write a configuration key and value back to the selected configuration file. | - $1: Configuration file path. | — |
_framework_config_edit_file | Open a Framework configuration file in the selected external editor. | - $1: Title of the configuration-editing screen. | — |
_framework_configure_file | Open the selected Framework configuration file for guided editing. | - $1: Optional: configuration file path. | — |
_framework_log_validate | Check the Framework logging configuration and file accessibility. | — | — |
_framework_log_rotate | Run the Framework log-rotation action. | — | — |
_run_action | Dispatch the requested management action to its implementation. | - $1: Management action to execute. | — |
Description
Implements persistent framework configuration and logging actions dispatched by the SolidGroundUX Management Console. All mutating actions honor --dryrun and provide a useful preview of the changes that would be made.
Usage
Run the executable from its shell command (or installed wrapper):
manage-solidgroundux --action config-system-configure
manage-solidgroundux --dryrun --action log-rotate
Script-specific options:
--action NAME,-a: Management action (choices:config-system-configure,config-system-edit,config-user-edit,log-rotate).
