diff -Naur systemd-196/Makefile.am systemd-196-magellan/Makefile.am --- systemd-196/Makefile.am 2012-11-22 19:04:53.980639949 +0100 +++ systemd-196-magellan/Makefile.am 2012-11-22 19:10:14.844637730 +0100 @@ -4099,6 +4099,11 @@ $(LN_S) rescue.service single.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-196/Makefile.in systemd-196-magellan/Makefile.in --- systemd-196/Makefile.in 2012-11-21 02:16:17.795133751 +0100 +++ systemd-196-magellan/Makefile.in 2012-11-22 19:10:46.265637495 +0100 @@ -10918,6 +10918,9 @@ @TARGET_MAGEIA_TRUE@ ( cd $(DESTDIR)$(systemunitdir) && \ @TARGET_MAGEIA_TRUE@ rm -f 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_DATA_HOOKS) $(UNINSTALL_EXEC_HOOKS) diff -Naur systemd-196/src/getty.confd systemd-196-magellan/src/getty.confd --- systemd-196/src/getty.confd 1970-01-01 01:00:00.000000000 +0100 +++ systemd-196-magellan/src/getty.confd 2012-11-22 19:11:07.188637347 +0100 @@ -0,0 +1,7 @@ +# Getty configuration file + +# Default getty speed +GETTY_SPEED="38400" + +# Getty options like --autologin etc +GETTY_OPTS="" diff -Naur systemd-196/units/getty@.service.m4 systemd-196-magellan/units/getty@.service.m4 --- systemd-196/units/getty@.service.m4 2012-11-20 21:39:16.329058797 +0100 +++ systemd-196-magellan/units/getty@.service.m4 2012-11-22 19:12:32.742636742 +0100 @@ -44,8 +44,16 @@ ConditionPathExists=/dev/tty0 [Service] +m4_ifdef(`TARGET_MAGELLAN', +EnvironmentFile=-/etc/conf.d/getty +)m4_dnl # the VT is cleared by TTYVTDisallocate -ExecStart=-/sbin/agetty --noclear %I 38400 linux +m4_ifdef(`TARGET_MAGELLAN', +``ExecStart=-/sbin/agetty --noclear %I $GETTY_SPEED linux $GETTY_OPTS +'', +``ExecStart=-/sbin/agetty --noclear %I 38400 linux'' +)m4_dnl + Type=idle Restart=always RestartSec=0