mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
if backend uci is changed then restarting sshmngr can lead to those changes being lost, try to preserve some of the changes the following behaviour has been tested: * if an extra option is set in backend UCI which is not set in sshmngr UCI for the same section, it will stay as it is * manually added section in backend is not over-written * sshmngr managed sections are properly added/modified/deleted * option BbfSection is introduced which can be set to 0 to prevent sshmngr from modifying a backend section the above works except for first boot (then sshmngr will override backend UCI)
14 lines
170 B
Bash
Executable file
14 lines
170 B
Bash
Executable file
#!/bin/sh /etc/rc.common
|
|
|
|
START=18
|
|
USE_PROCD=1
|
|
|
|
. /lib/sshmngr/sshmngr.sh
|
|
|
|
start_service() {
|
|
configure_ssh
|
|
}
|
|
|
|
service_triggers() {
|
|
procd_add_reload_trigger "sshmngr"
|
|
}
|