aboutsummaryrefslogtreecommitdiff
path: root/src/sysvinit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sysvinit.c')
-rw-r--r--src/sysvinit.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/sysvinit.c b/src/sysvinit.c
index 5a0d98a..ef765a1 100644
--- a/src/sysvinit.c
+++ b/src/sysvinit.c
@@ -167,3 +167,5 @@ inittrans ()
case sysinit:
+ break;
case boot:
+ sysvinit_acct (SYSV_ACCT_BOOT, "reboot", "~~", 0, "~");
break;
@@ -180,2 +182,5 @@ inittrans ()
debug (1, ("RL TRANS: %c -> %c", runlevel, newlevel));
+ sysvinit_acct (SYSV_ACCT_RUNLEVEL, "runlevel", "~~",
+ newlevel + 256 * runlevel, "~");
+ mf_proctitle_format ("init [%c]", newlevel);
runlevel = newlevel;

Return to:

Send suggestions and report system problems to the System administrator.