From d9eaa2d538c63bb3adfec82fb65eab4e1979c7b9 Mon Sep 17 00:00:00 2001 From: Alexey Shabalin Date: Fri, 10 Jun 2011 21:30:15 +0400 Subject: [PATCH] systemctl: enable chkconfig support in systemctl for ALTLinux --- src/systemctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/systemctl.c b/src/systemctl.c index 2bd173c5..5a0055bd 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; -- 2.39.5