X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Frunlevel.xml;h=db9a436724851a10ca3aedbf939a8b155286bf78;hb=f8eeeaf9b783ebbab30672629abf3920db286811;hp=7daffbf373a2702d4d7681a22cd63c9bcb377c0a;hpb=dd17b384db0ef1690ecf8f73f09dd130b06fb120;p=elogind.git
diff --git a/man/runlevel.xml b/man/runlevel.xml
index 7daffbf37..db9a43672 100644
--- a/man/runlevel.xml
+++ b/man/runlevel.xml
@@ -8,20 +8,22 @@
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 +61,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.
+
+
+
+ OptionsThe following option is understood:
- --help
+
- Prints a short help
- text and exits.
+
@@ -92,7 +97,7 @@
Environment
-
+ $RUNLEVEL
@@ -107,7 +112,7 @@
$PREVLEVELIf
- $PREVLEVEL is set
+ $PREVLEVEL is set,
runlevel will print
this value as previous runlevel and
ignore utmp.
@@ -120,7 +125,7 @@
- /var/run/utmp
+ /var/run/utmpThe utmp database
runlevel reads the
@@ -142,6 +147,7 @@
See Also
+ systemd1,
systemctl1