enable chkconfig support in systemctl for ALTLinux

-- 
Alexey Shabalin
From 8524ce047614f0d597bcfeaf2af0529739716afb Mon Sep 17 00:00:00 2001
From: Alexey Shabalin <[email protected]>
Date: Fri, 10 Jun 2011 21:30:15 +0400
Subject: [PATCH] enable chkconfig support in systemctl for ALTLinux

---
 src/systemctl.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/systemctl.c b/src/systemctl.c
index faca797..dd6a19e 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;
-- 
1.7.5.4

_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to