diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-01-28 02:43:52 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-01-28 02:43:52 +0100 |
commit | 98b5b2986fa1b85fd2d2e80f867f1647b4e4e3b5 (patch) | |
tree | cb6594b10d538e18f6ef8b9d62ce4cce4e64aab4 | |
parent | 071830ff32351c19343ff1f0343c13d5c2b69250 (diff) |
add more special units
-rw-r--r-- | manager.c | 4 | ||||
-rw-r--r-- | manager.h | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -20,7 +20,9 @@ static const char * const special_table[_SPECIAL_UNIT_MAX] = { [SPECIAL_SYSLOG_SERVICE] = "syslog.service", [SPECIAL_DBUS_SERVICE] = "messagebus.service", - [SPECIAL_LOGGER_SOCKET] = "systemd-logger.socket" + [SPECIAL_LOGGER_SOCKET] = "systemd-logger.socket", + [SPECIAL_KBREQUEST_TARGET] = "kbrequest.target", + [SPECIAL_CTRL_ALT_DEL_TARGET] = "ctrl-alt-del.target" }; static int manager_setup_signals(Manager *m) { @@ -34,6 +34,8 @@ typedef enum SpecialUnit { SPECIAL_SYSLOG_SERVICE, SPECIAL_DBUS_SERVICE, SPECIAL_LOGGER_SOCKET, + SPECIAL_CTRL_ALT_DEL_TARGET, + SPECIAL_KBREQUEST_TARGET, _SPECIAL_UNIT_MAX } SpecialUnit; |