infra: strengthen trigger semantics

This commit is contained in:
Thomas Schoebel-Theuer 2020-06-15 14:59:15 +02:00 committed by Thomas Schoebel-Theuer
parent a698f42f24
commit 513560af8b
1 changed files with 2 additions and 0 deletions

View File

@ -120,10 +120,12 @@ int trigger_sysctl_handler(
sscanf(tmp, "%d", &code);
if (code >= 8) {
mars_full_trigger(code);
from_remote_trigger();
} else if (code > 0) {
mars_trigger();
}
if (code > 2) {
from_remote_trigger();
mars_remote_trigger_all();
} else if (code > 1) {
mars_remote_trigger();