diff options
author | Michel Stam <m.stam@fugro.nl> | 2014-11-04 16:50:54 +0100 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2014-11-04 16:54:10 +0100 |
commit | 44803f0b48e6b0bbc56b1f9f8c2ea9c8e1003302 (patch) | |
tree | 824945b08a3d953a099361ed33c22bf7c24b4deb /initd | |
parent | 174777181850705df7c6dbe234bd7e93d352666a (diff) | |
download | unitd-44803f0b48e6b0bbc56b1f9f8c2ea9c8e1003302.tar unitd-44803f0b48e6b0bbc56b1f9f8c2ea9c8e1003302.zip |
Honour tty field in /etc/inittab
The problem was caused by procd not opening /dev/tty* (whichever was
specified for the ID field /etc/inittab), causing /proc/PID/fd to
point to /dev/console instead.
This is a rework of e63051d9, which did not initialise the console
pointer and did not check the tty pointer in askconsole. askfirst
was not completely fixed as it expected the console parameter on
the commandline, which is no longer necessary because procd opens
the console prior to fork()-ing.
Signed-off-by: Michel Stam <m.stam@fugro.nl>
Diffstat (limited to 'initd')
0 files changed, 0 insertions, 0 deletions