summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Borzenkov <arvidjaar@gmail.com>2011-03-18 19:32:49 +0300
committerAndrey Borzenkov <arvidjaar@gmail.com>2011-03-18 19:32:49 +0300
commit8c944383c2c03fbd219f54660f7ce99bea70dfd8 (patch)
tree4f5a8a1f4b9b01ddfd05a438e64bcb79e357db6b
parent0c380104cfc52b69ab39737722e8e91fbad6c676 (diff)
units: replace Names=dm.service with symlink for mandriva prefdm
-rw-r--r--Makefile.am3
-rw-r--r--units/mandriva/prefdm.service3
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