systemd/0002-Add-vhangup-for-sending-HUP-to-all-procs-on-tty.patch

13 lines
309 B
Diff

--- units/getty@.service.m4
+++ units/getty@.service.m4 2011-02-17 14:02:02.883926195 +0000
@@ -27,6 +27,9 @@ Before=getty.target
[Service]
Environment=TERM=linux
ExecStart=-/sbin/agetty %I 38400
+m4_ifdef(`TARGET_SUSE',
+ExecStop=/sbin/vhangup %I
+)m4_dnl
Restart=always
RestartSec=0
UtmpIdentifier=%I