summaryrefslogtreecommitdiff
path: root/src/shared
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 /src/shared
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 'src/shared')
-rw-r--r--src/shared/def.h2
1 files changed, 2 insertions, 0 deletions
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"