summaryrefslogtreecommitdiff
path: root/units/getty@.service.m4
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-11-11 00:30:00 +0100
committerLennart Poettering <lennart@poettering.net>2010-11-11 00:30:00 +0100
commitf54409d8b8a8dd3e43a450be5bbd78afdcb78c25 (patch)
tree67778b73404c05f94e5ac2123d39a7be820e6d24 /units/getty@.service.m4
parentb0734b235f47238148253ace6a887151e3721d29 (diff)
units: deal properly with the fact that agetty is called getty on Debian
Diffstat (limited to 'units/getty@.service.m4')
-rw-r--r--units/getty@.service.m414
1 files changed, 7 insertions, 7 deletions
diff --git a/units/getty@.service.m4 b/units/getty@.service.m4
index b71e7f4ed4..24247be7a7 100644
--- a/units/getty@.service.m4
+++ b/units/getty@.service.m4
@@ -5,12 +5,12 @@
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
-m4_ifdef(`TARGET_FEDORA', `m4_define(`GETTY', `/sbin/agetty 38400')')m4_dnl
-m4_ifdef(`TARGET_SUSE', `m4_define(`GETTY', `/sbin/agetty 38400')')m4_dnl
-m4_ifdef(`TARGET_DEBIAN', `m4_define(`GETTY', `/sbin/getty 38400')')m4_dnl
-m4_ifdef(`TARGET_UBUNTU', `m4_define(`GETTY', `/sbin/getty 38400')')m4_dnl
-m4_ifdef(`TARGET_GENTOO', `m4_define(`GETTY', `/sbin/agetty 38400')')m4_dnl
-m4_ifdef(`TARGET_ARCH', `m4_define(`GETTY', `/sbin/agetty -8 38400')')m4_dnl
+m4_ifdef(`TARGET_FEDORA', `m4_define(`GETTY', `/sbin/agetty')')m4_dnl
+m4_ifdef(`TARGET_SUSE', `m4_define(`GETTY', `/sbin/agetty')')m4_dnl
+m4_ifdef(`TARGET_GENTOO', `m4_define(`GETTY', `/sbin/agetty')')m4_dnl
+m4_ifdef(`TARGET_ARCH', `m4_define(`GETTY', `/sbin/agetty')')m4_dnl
+m4_ifdef(`TARGET_DEBIAN', `m4_define(`GETTY', `/sbin/getty')')m4_dnl
+m4_ifdef(`TARGET_UBUNTU', `m4_define(`GETTY', `/sbin/getty')')m4_dnl
m4_dnl
[Unit]
Description=Getty on %I
@@ -30,7 +30,7 @@ Before=getty.target
[Service]
Environment=TERM=linux
-ExecStart=-GETTY %I
+ExecStart=-GETTY %I 38400
Restart=always
RestartSec=0
UtmpIdentifier=%I