I had also noticed that the file was automatically reset.
but more than that probably has to do with Saltstack I got by reading source text so far not out.
Saltstack is new to me in the world of config orchestration.
is there somewhere a documentation for
and the other /usr/sbin/omv-tools
my research so far:
Shell script that accepts arguments. The name of the argument is related to the service it configures. ie: omv-mkconf samba, omv-mkconf sharedfolders and so on. The arguments are all files located in /usr/share/openmediavault/mkconf folder.
RPC daemon that runs all the php backend code. The nginx web server connects to this daemon through the fastcgi php socket. If an error appears in the web interface that indicates no connection to the php socket means the daemon is not running.
This tool can execute rpc commands. This is identical of what the web frontend uses to set/get information. It accepts service, method and parameters. RPC services can be found listed in engined/rpc folder