rcS: avoid duplicate pending "running" calls
authorFelix Fietkau <nbd@nbd.name>
Thu, 13 Mar 2025 10:21:13 +0000 (11:21 +0100)
committerFelix Fietkau <nbd@nbd.name>
Thu, 13 Mar 2025 10:21:15 +0000 (11:21 +0100)
commit891094aefcb28a376a43b7c539f599a8e0987e4d
tree178937e6b2229af4f6c48acd8f94b2390b206087
parent80187cf5badb43ec42f6025acaeb70688c494101
rcS: avoid duplicate pending "running" calls

Since those can be triggered by instance restarts now, and since the calls
can wait for their service to be active, suppress duplicate concurrent script
calls in case of rapid consecutive crashes.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
rcS.c