diff -Naur systemd-188/Makefile.am systemd-188-magellan/Makefile.am --- systemd-188/Makefile.am 2012-08-15 16:47:20.199981494 +0200 +++ systemd-188-magellan/Makefile.am 2012-08-15 16:48:42.425979163 +0200 @@ -3602,6 +3602,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-188/Makefile.in systemd-188-magellan/Makefile.in --- systemd-188/Makefile.in 2012-08-08 21:50:35.079747869 +0200 +++ systemd-188-magellan/Makefile.in 2012-08-15 16:49:40.372981142 +0200 @@ -9690,6 +9690,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_EXEC_HOOKS) diff -Naur systemd-188/src/getty.confd systemd-188-magellan/src/getty.confd --- systemd-188/src/getty.confd 1970-01-01 01:00:00.000000000 +0100 +++ systemd-188-magellan/src/getty.confd 2012-08-15 16:50:28.906980338 +0200 @@ -0,0 +1,8 @@ +# Getty configuration file + +# Default getty speed +GETTY_SPEED="38400" + +# Getty options like --autologin etc +GETTY_OPTS="" + diff -Naur systemd-188/units/getty@.service.m4 systemd-188-magellan/units/getty@.service.m4 --- systemd-188/units/getty@.service.m4 2012-06-19 17:29:22.584187352 +0200 +++ systemd-188-magellan/units/getty@.service.m4 2012-08-15 16:52:10.404979328 +0200 @@ -40,9 +40,17 @@ ConditionPathExists=/dev/tty0 [Service] +m4_ifdef(`TARGET_MAGELLAN', +EnvironmentFile=-/etc/conf.d/getty +)m4_dnl Environment=TERM=linux # the VT is cleared by TTYVTDisallocate -ExecStart=-/sbin/agetty --noclear %I 38400 +m4_ifdef(`TARGET_MAGELLAN', +``ExecStart=-/sbin/agetty --noclear %I $GETTY_SPEED $GETTY_OPTS +'', +``ExecStart=-/sbin/agetty --noclear %I 38400'' +)m4_dnl + Type=idle Restart=always RestartSec=0