summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Shabalin <shaba@altlinux.org>2011-06-10 21:30:15 +0400
committerLennart Poettering <lennart@poettering.net>2011-06-15 20:13:36 +0200
commitd9eaa2d538c63bb3adfec82fb65eab4e1979c7b9 (patch)
tree59c8b59d325fb415064dbf2dc43fa1618d99ca8d
parent835c60f50c861bce2c4bbcd35d51307a5443b5cf (diff)
systemctl: enable chkconfig support in systemctl for ALTLinux
-rw-r--r--src/systemctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemctl.c b/src/systemctl.c
index 2bd173c5d0..5a0055bdfb 100644
--- a/src/systemctl.c
+++ b/src/systemctl.c
@@ -4089,7 +4089,7 @@ static int install_info_apply(const char *verb, LookupPaths *paths, InstallInfo
}
if (!f) {
-#if (defined(TARGET_FEDORA) || defined(TARGET_MANDRIVA) || defined(TARGET_SUSE)) || defined(TARGET_MEEGO) && defined (HAVE_SYSV_COMPAT)
+#if (defined(TARGET_FEDORA) || defined(TARGET_MANDRIVA) || defined(TARGET_SUSE) || defined(TARGET_MEEGO) || defined(TARGET_ALTLINUX)) && defined (HAVE_SYSV_COMPAT)
if (endswith(i->name, ".service")) {
char *sysv;