chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
95978cf
)
service: read special startup dirs only on the respective distros
author
Lennart Poettering
<lennart@poettering.net>
Thu, 5 Aug 2010 18:28:51 +0000
(20:28 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Thu, 5 Aug 2010 18:28:51 +0000
(20:28 +0200)
src/service.c
patch
|
blob
|
history
diff --git
a/src/service.c
b/src/service.c
index b2e0f86ae8d6ac83b8f9e3fd6b2875b34b51964d..ee1da2a7b32bcb1d746e3e36a28f0eedd69815ea 100644
(file)
--- a/
src/service.c
+++ b/
src/service.c
@@
-56,11
+56,15
@@
static const struct {
{ "rc4.d", SPECIAL_RUNLEVEL4_TARGET, RUNLEVEL_UP },
{ "rc5.d", SPECIAL_RUNLEVEL5_TARGET, RUNLEVEL_UP },
+#ifdef TARGET_SUSE
/* SUSE style boot.d */
{ "boot.d", SPECIAL_SYSINIT_TARGET, RUNLEVEL_SYSINIT },
+#endif
+#ifdef TARGET_DEBIAN
/* Debian style rcS.d */
{ "rcS.d", SPECIAL_SYSINIT_TARGET, RUNLEVEL_SYSINIT },
+#endif
/* Standard SysV runlevels for shutdown */
{ "rc0.d", SPECIAL_POWEROFF_TARGET, RUNLEVEL_DOWN },