From: Alexey Shabalin Date: Fri, 10 Jun 2011 17:30:15 +0000 (+0400) Subject: systemctl: enable chkconfig support in systemctl for ALTLinux X-Git-Tag: v29~5 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=d9eaa2d538c63bb3adfec82fb65eab4e1979c7b9;p=elogind.git systemctl: enable chkconfig support in systemctl for ALTLinux --- diff --git a/src/systemctl.c b/src/systemctl.c index 2bd173c5d..5a0055bdf 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;