aboutsummaryrefslogtreecommitdiff
path: root/src/pies.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pies.c')
-rw-r--r--src/pies.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/pies.c b/src/pies.c
index 713ae8e..a2dc5e0 100644
--- a/src/pies.c
+++ b/src/pies.c
@@ -959,7 +959,7 @@ _cb_flags (enum grecs_callback_command cmd,
return 0;
}
-static const char valid_runlevels[] = "0123456Ss";
+static const char valid_runlevels[] = "0123456789Ss";
static int
_cb_initdefault (enum grecs_callback_command cmd,
@@ -2309,6 +2309,7 @@ main (int argc, char **argv)
{
foreground = 1;
set_console_dev ();
+ sysvinit_begin ();
}
else
switch (pies_check_status (&pid))
@@ -2360,9 +2361,12 @@ main (int argc, char **argv)
do
{
- if (init_process)
- inittrans ();
- if (!children_cleanup)
+ if (init_process && inittrans ())
+ {
+ got_alarm = 1;
+ action = ACTION_CONT;
+ }
+ else if (!children_cleanup)
pies_pause ();
switch (action)
{

Return to:

Send suggestions and report system problems to the System administrator.