1
0
mirror of https://github.com/systemd/systemd.git synced 2025-03-28 02:50:16 +03:00

utmp: document that the order of preference for runlevel numbers might be something to change in other distributions

This commit is contained in:
Lennart Poettering 2010-08-25 03:31:59 +02:00
parent 1a7fdcad3a
commit ee2083d5ca

View File

@ -114,7 +114,10 @@ static int get_current_runlevel(Context *c) {
const char *special;
} table[] = {
/* The first target of this list that is active or has
* a job scheduled wins */
* a job scheduled wins. We prefer runlevels 5 and 3
* here over the others, since these are the main
* runlevels used on Fedora. It might make sense to
* change the order on some distributions. */
{ '5', SPECIAL_RUNLEVEL5_TARGET },
{ '3', SPECIAL_RUNLEVEL3_TARGET },
{ '4', SPECIAL_RUNLEVEL4_TARGET },