summaryrefslogtreecommitdiffabout
path: root/src/pies.h
Side-by-side diff
Diffstat (limited to 'src/pies.h') (more/less context) (show whitespace changes)
-rw-r--r--src/pies.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/pies.h b/src/pies.h
index 4d52ce4..201a719 100644
--- a/src/pies.h
+++ b/src/pies.h
@@ -276,7 +276,11 @@ struct component
pies_acl_t adm_acl; /* Administrative ACL (stop, start, etc.) */
};
-#define is_sysvinit(cp) ((cp)->mode >= pies_mark_sysvinit || (cp)->runlevels)
+#define is_sysvinit(cp) \
+ (PIES_SYSVINIT_ENABLED \
+ && ((cp)->mode >= pies_mark_sysvinit || (cp)->runlevels))
+
+#define SYSVINIT_ACTIVE (PIES_SYSVINIT_ENABLED && init_process)
enum pies_action {
ACTION_CONT,
@@ -565,6 +569,13 @@ int sysvinit_envlocate (char const *name, char **value);
int sysvinit_envdelete (char const *name);
int sysvinit_envupdate (char const *var);
+int cb_initdefault (enum grecs_callback_command cmd,
+ grecs_node_t *node,
+ void *varptr, void *cb_data);
+int cb_runlevels (enum grecs_callback_command cmd,
+ grecs_node_t *node,
+ void *varptr, void *cb_data);
+
extern char *sysvinit_environ_hint[];
extern char *init_fifo;

Return to:

Send suggestions and report system problems to the System administrator.