X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=man%2Frunlevel.xml;h=6d9fe85726d812b9e69672f63e7afda608ba5144;hp=1404ff6d2fe67a2fdee677e2a570c576ce4feb47;hb=6b4991cfde6c0a0b62e836ca75ae362779c474d4;hpb=359957ee23e8dad97f6c75969d7ecfe4d3c4369f diff --git a/man/runlevel.xml b/man/runlevel.xml index 1404ff6d2..6d9fe8572 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 @@ -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