Store RUN_LVL in UTMP and change RUNLEVEL_BOOT from 10 to 0

Standard init implementations save current and previous runlevels
in utmp, now finit does too.  Also, the initial runlevel at boot
has changed from 10 to the more obvious 0.

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson committed 2013-06-06 18:19:26 +02:00
1 parent 0f60aa2289
commit 4171fbdfd3
5 files changed
+29 -9

No files matched your search

-1
View File
@@ -42,7 +42,6 @@ typedef enum {
SVC_CMD_RUN /* Like task, but wait for completion */
} svc_type_t;
#define RUNLEVEL_BOOT 10
#define FINIT_SHM_ID 0x494E4954 /* "INIT", see ascii(7) */
#define MAX_ARG_LEN 64
#define MAX_STR_LEN 64