diff options
author | Karel Zak <kzak@redhat.com> | 2013-06-03 14:28:29 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-06-04 15:34:44 +0200 |
commit | 7c1b8f043ed3d23663549dd6084c5a4de51b8e28 (patch) | |
tree | 4b7340b2fb0b05db4f4f731318a0e12917ac184a /units/serial-getty@.service.m4 | |
parent | 59967d30e53336755ae1cfdf7cb1a9424aa8c158 (diff) |
units: cleanup agetty command line
* baud rate is optional and unnecessary for virtual terminals
* term type is optional (default is 'linux' for virtual terminals
and 'vt102' for serial lines)
* long options are more user-friendly
... all this is supported since util-linux v2.20 (Aug 2011).
Diffstat (limited to 'units/serial-getty@.service.m4')
-rw-r--r-- | units/serial-getty@.service.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/units/serial-getty@.service.m4 b/units/serial-getty@.service.m4 index 60d7737b74..5e16963e92 100644 --- a/units/serial-getty@.service.m4 +++ b/units/serial-getty@.service.m4 @@ -22,7 +22,7 @@ Before=getty.target IgnoreOnIsolate=yes [Service] -ExecStart=-/sbin/agetty -s %I 115200,38400,9600 vt102 +ExecStart=-/sbin/agetty --keep-baud %I 115200,38400,9600 Type=idle Restart=always RestartSec=0 |