mirror of
https://github.com/troglobit/finit.git
synced 2026-09-30 13:02:37 +07:00
- Fix bug when calling sys_update_conds() when dir already exists and we're not being called from the scandir() handler. I.e., every time but the first for each new condition sub-family - Drop sys conditions that don't affect any svc_t. This may seem counterintuitive, and we should probably not use oneshot conds, but if we leave these conds asserted they may cause inadvertent trigger if a finit.conf is loaded which ha this sys cond. E.g., if ctrlaltdel is asserted and we enable a task in finit.conf and call `initctl reload`, the task would start immediately, even though ctrl-alt-del may have been pressed a week ago Signed-off-by: Joachim Wiberg <troglobit@gmail.com>