X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=man%2Frunlevel.xml;h=976753a737ff8ae0da9053266ea5c6b90897ade5;hp=7daffbf373a2702d4d7681a22cd63c9bcb377c0a;hb=c16d01af5771bdc20171e81855dc1ef83326c10d;hpb=dd17b384db0ef1690ecf8f73f09dd130b06fb120 diff --git a/man/runlevel.xml b/man/runlevel.xml index 7daffbf37..976753a73 100644 --- a/man/runlevel.xml +++ b/man/runlevel.xml @@ -8,20 +8,21 @@ 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,23 +60,26 @@ 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