Use finit API to get runlevel instead of utmp

utmp is not available with musl libc
This commit is contained in:
Patrick Stewart committed 2016-04-13 22:07:39 +01:00
1 parent f7f222c924
commit 1177c734ce
5 files changed
+42 -18

No files matched your search

+1
View File
@@ -53,6 +53,7 @@
#define INIT_CMD_RESTART_SVC 7 /* STOP + START service */
#define INIT_CMD_QUERY_INETD 8
#define INIT_CMD_EMIT 9
#define INIT_CMD_GET_RUNLEVEL 10
#define INIT_CMD_NACK 254
#define INIT_CMD_ACK 255