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=7daffbf373a2702d4d7681a22cd63c9bcb377c0a;hb=accdd018ede77ef1c057775396c18c73406cbcb4;hpb=dd17b384db0ef1690ecf8f73f09dd130b06fb120;ds=inline diff --git a/man/runlevel.xml b/man/runlevel.xml index 7daffbf37..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 @@ -142,6 +146,7 @@ See Also + systemd1, systemctl1