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. --- src/shared/def.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/shared') diff --git a/src/shared/def.h b/src/shared/def.h index edd0bcf7a4..46b88a8a49 100644 --- a/src/shared/def.h +++ b/src/shared/def.h @@ -38,3 +38,5 @@ #define LOWERCASE_LETTERS "abcdefghijklmnopqrstuvwxyz" #define UPPERCASE_LETTERS "ABCDEFGHIJKLMNOPQRSTUVWXYZ" #define LETTERS LOWERCASE_LETTERS UPPERCASE_LETTERS + +#define REBOOT_PARAM_FILE "/run/systemd/reboot-param" -- cgit v1.2.3-54-g00ecf