summaryrefslogtreecommitdiff
path: root/package/systemd/patches/patch-units_serial-getty@_service_m4
diff options
context:
space:
mode:
Diffstat (limited to 'package/systemd/patches/patch-units_serial-getty@_service_m4')
-rw-r--r--package/systemd/patches/patch-units_serial-getty@_service_m414
1 files changed, 7 insertions, 7 deletions
diff --git a/package/systemd/patches/patch-units_serial-getty@_service_m4 b/package/systemd/patches/patch-units_serial-getty@_service_m4
index 3767b53c2..74ef3ed8e 100644
--- a/package/systemd/patches/patch-units_serial-getty@_service_m4
+++ b/package/systemd/patches/patch-units_serial-getty@_service_m4
@@ -1,10 +1,10 @@
---- systemd-232.orig/units/serial-getty@.service.m4 2016-11-03 18:16:42.000000000 +0100
-+++ systemd-232/units/serial-getty@.service.m4 2016-11-19 08:53:35.509582664 +0100
-@@ -22,7 +22,7 @@ Before=getty.target
- IgnoreOnIsolate=yes
-
- [Service]
--ExecStart=-/sbin/agetty --keep-baud 115200,38400,9600 %I $TERM
+--- systemd-234.orig/units/serial-getty@.service.m4 2017-07-12 16:01:10.000000000 +0200
++++ systemd-234/units/serial-getty@.service.m4 2017-08-05 00:42:27.573516075 +0200
+@@ -31,7 +31,7 @@ Before=rescue.service
+ # The '-o' option value tells agetty to replace 'login' arguments with an
+ # option to preserve environment (-p), followed by '--' for safety, and then
+ # the entered username.
+-ExecStart=-/sbin/agetty -o '-p -- \\u' --keep-baud 115200,38400,9600 %I $TERM
+ExecStart=-/sbin/getty -L %I 115200 vt100
Type=idle
Restart=always