sysvinit/src
Jesse Smith 6e8323e9fb The init process now writes the current runlevel to /var/run/runlevel.
This information can be read by the "runlevel" command as well as "halt"
and "reboot". Having the information logged in /var/run/runlevel as
well as the utmp file means systems without utmp (like those running
the musl C library) can still check the current runlevel. This is
useful when running halt/reboot as these programs want to check the
runlevel.

Updated the changelog, and manual pages for halt and runlevel.
2018-07-07 20:19:03 -03:00
..
.gitignore Removed old LSM file. 2018-05-04 22:08:38 -03:00
bootlogd.c Cleared up compiler warnings from unused variables and findtty() 2018-02-20 19:40:14 -04:00
consoles.c Added "Fall through" comments to some switch statements where multiple 2018-05-04 14:51:40 -03:00
consoles.h Sulogin: enforce reconnection of stdin/stdout/stderr if a device 2011-07-26 10:21:13 +00:00
dowall.c Fixed Clang compiler warning when calling sprintf() with 2018-02-21 18:05:58 -04:00
fstab-decode.c * Add fix for Debian bug #536574 -- Can be enabled by -DACCTON_OFF 2010-03-23 14:37:01 +00:00
halt.c The init process now writes the current runlevel to /var/run/runlevel. 2018-07-07 20:19:03 -03:00
hddown.c Added "Fall through" comments to some switch statements where multiple 2018-05-04 14:51:40 -03:00
ifdown.c Port ifdown.c to FreeBSD. Patch from Guillem Jover and Debian. 2014-02-07 17:55:37 +00:00
init.c The init process now writes the current runlevel to /var/run/runlevel. 2018-07-07 20:19:03 -03:00
init.h Add the comment from Andrea Arcangeli about the correct 2009-11-24 10:03:19 +00:00
initreq.h Moved the named communication pipe from /dev/initctl to /run/initctl. This 2018-02-20 19:29:08 -04:00
killall5.c Added "Fall through" comments to some switch statements where multiple 2018-05-04 14:51:40 -03:00
last.c Adjust more included headers to be compatible with the musl C 2014-01-28 22:07:30 +00:00
Makefile The init process now writes the current runlevel to /var/run/runlevel. 2018-07-07 20:19:03 -03:00
mesg.c Drop hurd specific dependency on libc0.3 (>= 2.3.2.ds1-12). It is 2009-09-10 08:28:49 +00:00
mountpoint.c Fixed typo. Corrected by Radostin Stoyanov. 2018-06-11 13:06:04 -03:00
oldutmp.h Drop hurd specific dependency on libc0.3 (>= 2.3.2.ds1-12). It is 2009-09-10 08:28:49 +00:00
paths.h Added new runlevel log code which saves (and reads) the current runlevel 2018-07-07 18:49:04 -03:00
reboot.h Drop hurd specific dependency on libc0.3 (>= 2.3.2.ds1-12). It is 2009-09-10 08:28:49 +00:00
runlevel.c The init process now writes the current runlevel to /var/run/runlevel. 2018-07-07 20:19:03 -03:00
runlevellog.c The init process now writes the current runlevel to /var/run/runlevel. 2018-07-07 20:19:03 -03:00
runlevellog.h Added new runlevel log code which saves (and reads) the current runlevel 2018-07-07 18:49:04 -03:00
set.h Drop hurd specific dependency on libc0.3 (>= 2.3.2.ds1-12). It is 2009-09-10 08:28:49 +00:00
shutdown.c Added "Fall through" comments to some switch statements where multiple 2018-05-04 14:51:40 -03:00
sulogin.c Updated sulogin.c to pull in crypt.h as it is a new, undocumented 2018-05-09 17:55:35 -03:00
utmp.c Add the comment from Andrea Arcangeli about the correct 2009-11-24 10:03:19 +00:00
utmpdump.c Removed unneeded "count" variable in utmpdump.c. 2018-03-30 22:15:04 -03:00
wall.c Adjust more included headers to be compatible with the musl C 2014-01-28 22:07:30 +00:00