From 8c944383c2c03fbd219f54660f7ce99bea70dfd8 Mon Sep 17 00:00:00 2001 From: Andrey Borzenkov Date: Fri, 18 Mar 2011 19:32:49 +0300 Subject: units: replace Names=dm.service with symlink for mandriva prefdm --- Makefile.am | 3 ++- units/mandriva/prefdm.service | 3 --- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Makefile.am b/Makefile.am index 8df636f39c..130e76c452 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1421,8 +1421,9 @@ if TARGET_MANDRIVA rm -f halt-local.service && \ $(LN_S) $(systemunitdir)/halt-local.service halt-local.service ) ( cd $(DESTDIR)$(systemunitdir) && \ - rm -f display-manager.service single.service && \ + rm -f display-manager.service dm.service single.service && \ $(LN_S) prefdm.service display-manager.service && \ + $(LN_S) prefdm.service dm.service && \ $(LN_S) rescue.service single.service ) ( cd $(DESTDIR)$(systemunitdir)/graphical.target.wants && \ rm -f display-manager.service && \ diff --git a/units/mandriva/prefdm.service b/units/mandriva/prefdm.service index 43b505db89..d0c7f99c6e 100644 --- a/units/mandriva/prefdm.service +++ b/units/mandriva/prefdm.service @@ -14,9 +14,6 @@ After=network.target acpid.service fs.service haldaemon.service Conflicts=plymouth-quit.service After=plymouth-quit.service -# Hide SysV script -Names=dm.service - [Service] ExecStart=/etc/X11/prefdm Type=forking -- cgit v1.2.3-54-g00ecf