X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=man%2Frunlevel.xml;h=5efb340df501e3320f1edf8ec1f6c8a3f2f4b8e0;hp=1404ff6d2fe67a2fdee677e2a570c576ce4feb47;hb=deb480d1a7c3f3178c44f0aa73765181c0e2317f;hpb=359957ee23e8dad97f6c75969d7ecfe4d3c4369f diff --git a/man/runlevel.xml b/man/runlevel.xml index 1404ff6d2..5efb340df 100644 --- a/man/runlevel.xml +++ b/man/runlevel.xml @@ -8,20 +8,20 @@ Copyright 2010 Lennart Poettering systemd is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or + under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. systemd is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - General Public License for more details. + Lesser General Public License for more details. - You should have received a copy of the GNU General Public License + You should have received a copy of the GNU Lesser General Public License along with systemd; If not, see . --> - + runlevel @@ -59,20 +59,24 @@ runlevel prints the previous and current SysV runlevel if they are known. - The two runlevel characters are seperated by a + The two runlevel characters are separated by a single space character. If a runlevel cannot be - determined N is printed instead. If neither can be - determined the word "unknown" is printed. + determined, N is printed instead. If neither can be + determined, the word "unknown" is printed. - Unless overriden in the environment this will + Unless overridden in the environment, this will check the utmp database for recent runlevel changes. + + + + Options The following option is understood: - --help + Prints a short help text and exits. @@ -92,7 +96,7 @@ Environment - + $RUNLEVEL @@ -107,7 +111,7 @@ $PREVLEVEL If - $PREVLEVEL is set + $PREVLEVEL is set, runlevel will print this value as previous runlevel and ignore utmp. @@ -120,7 +124,7 @@ - /var/run/utmp + /var/run/utmp The utmp database runlevel reads the @@ -134,15 +138,16 @@ Notes - This is a legacy call available for compatbility + This is a legacy command available for compatibility only. It should not be used anymore, as the concept of - runlevels is obselete. + runlevels is obsolete. See Also - systemctl1, + systemd1, + systemctl1