From 37185ec80ad372907a2a9388735655a7334babb6 Mon Sep 17 00:00:00 2001 From: WaLyong Cho Date: Wed, 6 Nov 2013 17:02:41 +0900 Subject: 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. --- man/systemctl.xml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'man/systemctl.xml') 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 - reboot + reboot arg 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. + + If the optional argument + arg is given, it will be passed + as the optional argument to the + reboot2 + system call. The value is architecture and firmware + specific. As an example, recovery might + be used to trigger system recovery, and + fota might be used to trigger a + firmware over the air update. -- cgit v1.2.3-54-g00ecf