chiark / gitweb /
units: replace Names=dm.service with symlink for mandriva prefdm
authorAndrey Borzenkov <arvidjaar@gmail.com>
Fri, 18 Mar 2011 16:32:49 +0000 (19:32 +0300)
committerAndrey Borzenkov <arvidjaar@gmail.com>
Fri, 18 Mar 2011 16:32:49 +0000 (19:32 +0300)
Makefile.am
units/mandriva/prefdm.service

index 8df636f..130e76c 100644 (file)
@@ -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 && \
index 43b505d..d0c7f99 100644 (file)
@@ -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