summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorWaLyong Cho <walyong.cho@samsung.com>2013-11-06 17:02:41 +0900
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-11-07 01:23:54 -0500
commit37185ec80ad372907a2a9388735655a7334babb6 (patch)
tree9fa29d5bacf8da53b1ac0ef300fc81784b6eb5f6 /man
parent3f09ee19690730cd69e4986d72da2d9bb7c04a6a (diff)
Support additional argument in reboot
reboot syscall can be performed with an additional argument. In some systems this functionality can be useful to modify the mode of the next boot performed by the bootloader.
Diffstat (limited to 'man')
-rw-r--r--man/systemctl.xml12
1 files changed, 11 insertions, 1 deletions
diff --git a/man/systemctl.xml b/man/systemctl.xml
index c7313edcc2..7f1e98f5c5 100644
--- a/man/systemctl.xml
+++ b/man/systemctl.xml
@@ -1179,7 +1179,7 @@ kobject-uevent 1 systemd-udevd-kernel.socket systemd-udevd.service
</listitem>
</varlistentry>
<varlistentry>
- <term><command>reboot</command></term>
+ <term><command>reboot <optional><replaceable>arg</replaceable></optional></command></term>
<listitem>
<para>Shut down and reboot the system. This is mostly
@@ -1192,6 +1192,16 @@ kobject-uevent 1 systemd-udevd-kernel.socket systemd-udevd.service
specified twice, the operation is immediately executed
without terminating any processes or unmounting any file
systems. This may result in data loss.</para>
+
+ <para>If the optional argument
+ <replaceable>arg</replaceable> is given, it will be passed
+ as the optional argument to the
+ <citerefentry><refentrytitle>reboot</refentrytitle><manvolnum>2</manvolnum></citerefentry>
+ system call. The value is architecture and firmware
+ specific. As an example, <literal>recovery</literal> might
+ be used to trigger system recovery, and
+ <literal>fota</literal> might be used to trigger a
+ <quote>firmware over the air</quote> update.</para>
</listitem>
</varlistentry>
<varlistentry>