]> err.no Git - systemd/commitdiff
systemctl: enable chkconfig support in systemctl for ALTLinux
authorAlexey Shabalin <shaba@altlinux.org>
Fri, 10 Jun 2011 17:30:15 +0000 (21:30 +0400)
committerLennart Poettering <lennart@poettering.net>
Wed, 15 Jun 2011 18:13:36 +0000 (20:13 +0200)
src/systemctl.c

index 2bd173c5d0216699363b77776a8f4273db01d45c..5a0055bdfb92cf72b0160789f01302f03b3ea980 100644 (file)
@@ -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;