Honour tty field in /etc/inittab
authorMichel Stam <m.stam@fugro.nl>
Mon, 13 Oct 2014 14:14:37 +0000 (16:14 +0200)
committerJohn Crispin <blogic@openwrt.org>
Sun, 12 Oct 2014 11:24:11 +0000 (13:24 +0200)
commite63051d9843ddbafb1fabfd97d60e853bdeac129
tree0a9e1908c95041641df2cb2b0e1fbf282eeb310a
parent3ff99010e61a0299257ffc91467a16d278a7e774
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.

Signed-off-by: Michel Stam <m.stam@fugro.nl>
inittab.c
utils/askfirst.c