chiark / gitweb /
man: document $MAINPID
[elogind.git] / man / shutdown.xml
index 95884921ace4dac99f32132cd5b429e723a23fa5..27e7e87b6c6c5b7327d0952ef0a145c9c38a0651 100644 (file)
@@ -8,16 +8,16 @@
   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 <http://www.gnu.org/licenses/>.
 -->
 
                 number of minutes m from now. <literal>now</literal>
                 is an alias for <literal>+0</literal>, i.e. for
                 triggering an immediate shutdown. If no time argument
-                is specified, <literal>now</literal> is
+                is specified, <literal>+1</literal> is
                 implied.</para>
 
                 <para>Note that to specify a wall message you must
-                speciy a time argument, too.</para>
+                specify a time argument, too.</para>
 
                 <para>If the time argument is used, 5 minutes
                 before the system goes down the
-                <filename>/etc/nologin</filename> file is created to
+                <filename>/run/nologin</filename> file is created to
                 ensure that further logins shall not be
                 allowed.</para>
         </refsect1>
                         <varlistentry>
                                 <term><option>-k</option></term>
 
-                                <listitem><para>Don't halt, power-off,
+                                <listitem><para>Do not halt, power-off,
                                 reboot, just write wall
                                 message.</para></listitem>
                         </varlistentry>
                         <varlistentry>
                                 <term><option>--no-wall</option></term>
 
-                                <listitem><para>Don't send wall
+                                <listitem><para>Do not send wall
                                 message before
                                 halt, power-off, reboot.</para></listitem>
                         </varlistentry>
 
-                        <varlistentry>
-                                <term><option>-f</option></term>
-
-                                <listitem><para>Skip file system check
-                                on reboot. This is equivalent to
-                                creating the
-                                <filename>/fastboot</filename> file
-                                before going down.</para></listitem>
-                        </varlistentry>
-
-                        <varlistentry>
-                                <term><option>-F</option></term>
-
-                                <listitem><para>Force file system
-                                check on reboot. This is equivalent to
-                                creating the
-                                <filename>/forcefsck</filename> file
-                                before going down.</para></listitem>
-                        </varlistentry>
-
                         <varlistentry>
                                 <term><option>-c</option></term>
 
         <refsect1>
                 <title>Exit status</title>
 
-                <para>On success 0 is returned, a non-zero failure
+                <para>On success, 0 is returned, a non-zero failure
                 code otherwise.</para>
         </refsect1>
 
-        <refsect1>
-                <title>Notes</title>
-
-                <para>This is a legacy command available for
-                compatibility only.</para>
-        </refsect1>
-
         <refsect1>
                 <title>See Also</title>
                 <para>