mirror of
https://github.com/troglobit/finit.git
synced 2026-10-17 10:49:34 +00:00
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:
1 parent
3aeb150eef
commit
b175b4a2ae
5 files changed
+79
-15
No files matched your search
+6
-5
@@ -27,11 +27,12 @@
|
||||
#include "finit.h"
|
||||
#include "svc.h"
|
||||
|
||||
int client_connect (void);
|
||||
int client_disconnect (void);
|
||||
int client_connect (void);
|
||||
int client_disconnect (void);
|
||||
|
||||
int client_send (struct init_request *rq, ssize_t len);
|
||||
svc_t *client_svc_iterator (int first);
|
||||
svc_t *client_svc_find (const char *arg);
|
||||
int client_send (struct init_request *rq, ssize_t len);
|
||||
svc_t *client_svc_iterator (int first);
|
||||
svc_t *client_svc_find (const char *arg);
|
||||
svc_t *client_svc_find_by_cond (const char *arg);
|
||||
|
||||
#endif /* FINIT_CLIENT_H_ */
|
||||
Reference in new issue
Block a user