Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.1:Staging:C
systemd
vhangup-on-all-consoles.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File vhangup-on-all-consoles.patch of Package systemd
Related to bnc#886599 and others. That is use the vhangup(8) tool to explicit do a virtually hangup on the specified on the terminal line to give e.g. the bash a few seconds to e.g. safe its history. --- units/getty@.service.m4 | 1 + units/serial-getty@.service.m4 | 1 + 2 files changed, 2 insertions(+) --- units/getty@.service.m4 +++ units/getty@.service.m4 2014-07-15 07:30:28.006235859 +0000 @@ -29,6 +29,7 @@ ConditionPathExists=/dev/tty0 [Service] # the VT is cleared by TTYVTDisallocate ExecStart=-/sbin/agetty --noclear %I $TERM +ExecStopPost=-/sbin/vhangup /dev/%I Type=idle Restart=always RestartSec=0 --- units/serial-getty@.service.m4 +++ units/serial-getty@.service.m4 2014-07-15 07:30:01.366235017 +0000 @@ -24,6 +24,7 @@ IgnoreOnIsolate=yes [Service] ExecStart=-/sbin/agetty --keep-baud %I 115200,38400,9600 $TERM +ExecStopPost=-/sbin/vhangup /dev/%I Type=idle Restart=always RestartSec=0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor