diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-06-04 18:43:40 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-06-04 18:43:40 +0200 |
commit | f92a18f5274ad506aed600b2ed8f4a560c510807 (patch) | |
tree | e44e2fa379994728ac44eb3d23b7cd75316eac48 /src | |
parent | 2f630e5ffd587a74f43d9495768481e9953a865b (diff) |
units: introduce and explain sysinit.target
Diffstat (limited to 'src')
-rw-r--r-- | src/manager.h | 1 | ||||
-rw-r--r-- | src/service.c | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/manager.h b/src/manager.h index 210e66053c..a2084e924b 100644 --- a/src/manager.h +++ b/src/manager.h @@ -108,6 +108,7 @@ struct Watch { #define SPECIAL_DISPLAY_MANAGER_SERVICE "display-manager.service" /* Debian's $x-display-manager */ #define SPECIAL_MAIL_TRANSFER_AGENT_TARGET "mail-transfer-agent.target" /* Debian's $mail-{transport|transfer-agent */ #define SPECIAL_BASIC_TARGET "basic.target" +#define SPECIAL_SYSINIT_TARGET "sysinit.target" #define SPECIAL_RESCUE_TARGET "rescue.target" #define SPECIAL_EXIT_SERVICE "exit.service" diff --git a/src/service.c b/src/service.c index 2ce95f5a9f..c276a9a276 100644 --- a/src/service.c +++ b/src/service.c @@ -58,10 +58,10 @@ static const struct { { "rc6.d", SPECIAL_RUNLEVEL6_TARGET, RUNLEVEL_DOWN }, /* SUSE style boot.d */ - { "boot.d", SPECIAL_BASIC_TARGET, RUNLEVEL_BASIC }, + { "boot.d", SPECIAL_SYSINIT_TARGET, RUNLEVEL_BASIC }, /* Debian style rcS.d */ - { "rcS.d", SPECIAL_BASIC_TARGET, RUNLEVEL_BASIC }, + { "rcS.d", SPECIAL_SYSINIT_TARGET, RUNLEVEL_BASIC }, }; #define RUNLEVELS_UP "12345" |