Extend menu option 51 to also allow for partial restores.
openhab/openhab-distro#1310 will add [--textconfig] [--uiconfig] options to the [openhab-cli] restore script.
Also (like all others) make this a function that can be called unattended through CLI so we can patch some OH install from remote.
See mirror_SD for an example how to use.
Depends: openhab/openhab-distro#1310
Extend menu option 51 to also allow for partial restores. openhab/openhab-distro#1310 will add
[--textconfig] [--uiconfig]
options to the[openhab-cli] restore
script.For text config updates (restores) only, we do not need to restart OH. https://github.com/openhab/openhab-linuxpkg/blob/main/resources/usr/bin/openhab-cli does that though, so we better replace calling that by a direct call to the restore script
$OPENHAB_RUNTIME/bin/restore
Also (like all others) make this a function that can be called unattended through CLI so we can patch some OH install from remote. See mirror_SD for an example how to use.