initctl: add PID and IDENT to 'cond dump' command

Instead of just walking /run/finit/cond, also show the source of each
condition.  The hook and net conditions are hard-coded to init[1] atm.
and unknown conditions are shown as unknown[0].

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg committed 2021-02-13 12:07:20 +01:00
1 parent 3aeb150eef
commit b175b4a2ae
5 files changed
+79 -15

No files matched your search

+1
View File
@@ -76,6 +76,7 @@
#define INIT_CMD_SVC_ITER 129
#define INIT_CMD_SVC_QUERY 130
#define INIT_CMD_SVC_FIND 131
#define INIT_CMD_SVC_FIND_BYC 132
#define INIT_CMD_NACK 254
#define INIT_CMD_ACK 255