summaryrefslogtreecommitdiff
path: root/src/manager.h
diff options
context:
space:
mode:
authorFabiano Fidencio <fidencio@profusion.mobi>2010-10-14 00:52:26 +0200
committerLennart Poettering <lennart@poettering.net>2010-10-14 00:52:26 +0200
commitb9080b03a98252ccccb332d0c892403b8b841916 (patch)
treef9c9ac7778fbb401065e9bb7383358eecc1a1d90 /src/manager.h
parente61cd18666de1c26d41b4f189c8fac8a0bf8ee61 (diff)
manager: hookup execution of systemd-shutdown helper
(Modified by Lennart Poettering)
Diffstat (limited to 'src/manager.h')
-rw-r--r--src/manager.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/manager.h b/src/manager.h
index 15ffb2c1a5..a573debe03 100644
--- a/src/manager.h
+++ b/src/manager.h
@@ -41,6 +41,10 @@ typedef enum ManagerExitCode {
MANAGER_EXIT,
MANAGER_RELOAD,
MANAGER_REEXECUTE,
+ MANAGER_REBOOT,
+ MANAGER_POWEROFF,
+ MANAGER_HALT,
+ MANAGER_KEXEC,
_MANAGER_EXIT_CODE_MAX,
_MANAGER_EXIT_CODE_INVALID = -1
} ManagerExitCode;
@@ -197,7 +201,7 @@ struct Manager {
/* Flags */
ManagerRunningAs running_as;
- ManagerExitCode exit_code:4;
+ ManagerExitCode exit_code:5;
bool dispatching_load_queue:1;
bool dispatching_run_queue:1;