]> git.ipfire.org Git - thirdparty/plymouth.git/commit
[window] Reopen tty if disconnected
authorRay Strode <rstrode@redhat.com>
Fri, 14 Aug 2009 12:44:47 +0000 (08:44 -0400)
committerRay Strode <rstrode@redhat.com>
Fri, 14 Aug 2009 12:44:47 +0000 (08:44 -0400)
commit72b13eb70d43925dc73ebbd06f6a2a01d2b4ef32
tree56769d434a1e4d51bce2133641df20019ce18374
parent25f5ddeb0553ff0a1009065fb22763e1b45d653a
[window] Reopen tty if disconnected

Some init implementations forcefully take over the tty after rc.sysinit
with the TIOCSCTTY ioctl, forcing plymouth's connection to the tty
to get dropped.  This comment just reopens the tty if it gets taken
over.

It may make sense at some point to use /dev/input for catching input
events instead of the tty, to side step these kinds of problems.
src/libplybootsplash/ply-window.c