path: root/src/pies.h
diff options
authorSergey Poznyakoff <gray@gnu.org.ua>2016-02-22 12:31:56 +0200
committerSergey Poznyakoff <gray@gnu.org.ua>2016-02-22 12:33:46 +0200
commitbfa3617a79292e3569587c65cd218b69bdfd28a2 (patch)
tree8b094ec15dbb50be7324b3aa2f0d7486146a04d3 /src/pies.h
parenta9bd91de478ab29fa7bac2093479a1ccee1bbd87 (diff)
Provide a default single-user entry in init mode
This complements 6aac230c. The entry is created unless a component for runlevel S already exists. * src/comp.c (component_foreach): New function. * src/pies.h: Likewise. * src/sysvinit.c (inittab_parse): Provide default S entry unless one is already defined.
Diffstat (limited to 'src/pies.h')
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pies.h b/src/pies.h
index 939bd4c..d4b5c6a 100644
--- a/src/pies.h
+++ b/src/pies.h
@@ -406,6 +406,8 @@ int component_is_active (struct component *comp);
406 406
407void component_finish (struct component *comp, grecs_locus_t *locus); 407void component_finish (struct component *comp, grecs_locus_t *locus);
408struct grecs_keyword *find_component_keyword (const char *ident); 408struct grecs_keyword *find_component_keyword (const char *ident);
409int component_foreach (int (*filter) (struct component *, void *),
410 void *data);
409 411
410void components_dump_depmap (void); 412void components_dump_depmap (void);
411void components_trace (char **argv, enum pies_depmap_direction dir); 413void components_trace (char **argv, enum pies_depmap_direction dir);

Return to:

Send suggestions and report system problems to the System administrator.