summaryrefslogtreecommitdiffstats
path: root/src/systemctl.c
diff options
context:
space:
mode:
authorDexter Morgan <dmorgan@mageia.org>2011-10-28 19:16:33 +0200
committerLennart Poettering <lennart@poettering.net>2011-11-02 02:16:39 +0100
commit6fdae8a6a40d6a3b5f77516abaee23b3eab002f6 (patch)
tree8aaac96449411f44ea67e31c54f00d74fa167a36 /src/systemctl.c
parentupdate TODO (diff)
downloadsystemd-6fdae8a6a40d6a3b5f77516abaee23b3eab002f6.tar.xz
systemd-6fdae8a6a40d6a3b5f77516abaee23b3eab002f6.zip
Add Mageia support
This patch adds support for the Mageia Linux distribution: http://www.mageia.org/ Mageia is a fork of Mandriva although some divergence has already occured and thus inclusion of these changes upstream allow us to (hopefully) migrate more rapidly to the new standard approaches systemd offers. Indeed, we already use the preferred mechanism of OS identification via the /etc/os-release file rather than a distro specific variation. This patch mostly mirrors the patch added previously for Mandriva support. In addition to those original authors, this patch was mostly written by Dexter Morgan with help from Colin Guthrie and Eugeni Dodonov.
Diffstat (limited to 'src/systemctl.c')
-rw-r--r--src/systemctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemctl.c b/src/systemctl.c
index b0baf8dc5f..175159d68f 100644
--- a/src/systemctl.c
+++ b/src/systemctl.c
@@ -3462,7 +3462,7 @@ finish:
static int enable_sysv_units(char **args) {
int r = 0;
-#if defined (HAVE_SYSV_COMPAT) && (defined(TARGET_FEDORA) || defined(TARGET_MANDRIVA) || defined(TARGET_SUSE) || defined(TARGET_MEEGO) || defined(TARGET_ALTLINUX))
+#if defined (HAVE_SYSV_COMPAT) && (defined(TARGET_FEDORA) || defined(TARGET_MANDRIVA) || defined(TARGET_SUSE) || defined(TARGET_MEEGO) || defined(TARGET_ALTLINUX) || defined(TARGET_MAGEIA))
const char *verb = args[0];
unsigned f = 1, t = 1;
LookupPaths paths;