diff -Naur systemd-185/Makefile.am systemd-185-magellan/Makefile.am --- systemd-185/Makefile.am 2012-06-26 16:23:50.395985466 +0200 +++ systemd-185-magellan/Makefile.am 2012-06-26 16:27:03.174982387 +0200 @@ -3297,6 +3297,11 @@ $(LN_S) $(systemunitdir)/display-manager.service display-manager.service ) endif +if TARGET_MAGELLAN + $(MKDIR_P) -m 0755 $(DESTDIR)$(sysconfdir)/conf.d + $(INSTALL_DATA) src/getty.confd $(DESTDIR)$(sysconfdir)/conf.d/getty +endif + if TARGET_MANDRIVA ( cd $(DESTDIR)$(systemunitdir) && \ rm -f display-manager.service dm.service single.service && \ diff -Naur systemd-185/Makefile.in systemd-185-magellan/Makefile.in --- systemd-185/Makefile.in 2012-06-04 20:15:49.649483370 +0200 +++ systemd-185-magellan/Makefile.in 2012-06-26 16:29:23.716982189 +0200 @@ -10061,6 +10061,9 @@ @TARGET_MAGEIA_TRUE@ rm -f display-manager.service && \ @TARGET_MAGEIA_TRUE@ $(LN_S) $(systemunitdir)/display-manager.service display-manager.service ) +@TARGET_MAGELLAN_TRUE@ $(MKDIR_P) -m 0755 $(DESTDIR)$(sysconfdir)/conf.d +@TARGET_MAGELLAN_TRUE@ $(INSTALL_DATA) src/getty.confd $(DESTDIR)$(sysconfdir)/conf.d/getty + install-exec-hook: $(INSTALL_EXEC_HOOKS) uninstall-hook: $(UNINSTALL_EXEC_HOOKS) diff -Naur systemd-185/src/getty.confd systemd-185-magellan/src/getty.confd --- systemd-185/src/getty.confd 1970-01-01 01:00:00.000000000 +0100 +++ systemd-185-magellan/src/getty.confd 2012-06-26 16:30:13.873984562 +0200 @@ -0,0 +1,8 @@ +# Getty configuration file + +# Default getty speed +GETTY_SPEED="38400" + +# Getty options like --autologin etc +GETTY_OPTS="" + diff -Naur systemd-185/units/getty@.service.m4 systemd-185-magellan/units/getty@.service.m4 --- systemd-185/units/getty@.service.m4 2012-05-21 19:23:02.769293222 +0200 +++ systemd-185-magellan/units/getty@.service.m4 2012-06-26 16:31:51.883982107 +0200 @@ -40,8 +40,16 @@ ConditionPathExists=/dev/tty0 [Service] +m4_ifdef(`TARGET_MAGELLAN', +EnvironmentFile=-/etc/conf.d/getty +)m4_dnl Environment=TERM=linux -ExecStart=-/sbin/agetty %I 38400 +m4_ifdef(`TARGET_MAGELLAN', +``ExecStart=-/sbin/agetty %I $GETTY_SPEED $GETTY_OPTS +'', +``ExecStart=-/sbin/agetty %I 38400'' +)m4_dnl + Type=idle Restart=always RestartSec=0