mirror of
https://github.com/troglobit/finit.git
synced 2026-10-03 06:23:11 +07:00
This patch not only greatly simplifies the registration of the built-in watchdog daemon, it also fixes a nasty race condition with an external watchdog daemon. The INIT_CMD_WDOG_HELLO could reach finit in reversed order, leading to the built-in daemon shutting down, but finit killing the just registered external daemon. Signed-off-by: Joachim Nilsson <troglobit@gmail.com>