summaryrefslogtreecommitdiffstats
path: root/.gitignore
diff options
context:
space:
mode:
authorMichel Stam <m.stam@fugro.nl>2014-10-13 16:14:35 +0200
committerJohn Crispin <blogic@openwrt.org>2014-10-12 13:24:11 +0200
commit8b27adcf7516fa89ced66c840cfb085f2b6067af (patch)
treec0e651faa5faa51e989f153361ed280704a36bd9 /.gitignore
parent79872ea6ca5867631c1ec5405721af12bea818b2 (diff)
downloadunitd-8b27adcf7516fa89ced66c840cfb085f2b6067af.tar
unitd-8b27adcf7516fa89ced66c840cfb085f2b6067af.zip
Show the shutdown sequence on the active virtual terminal
procd by default writes to /dev/console. When rebooting, this means that the terminal on which the reboot sequence was started will not see what is going on. This patch fixes that by reopening stdin, stdout and stderr to the console device specified on the commandline, /dev/tty0 or /dev/console upon reboot. Also, due to (probably) pivot-root, /proc/1/fd shows 1-3 pointing to /console. This patch also fixes that. Signed-off-by: Michel Stam <m.stam@fugro.nl>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions