[OpenWrt-Devel] [PATCH procd 7/8] Show the shutdown sequence on the active virtual terminal

2014-10-02 Thread Michel Stam
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 /dev/tty0 upon reboot. Also, due to (probably) pivot-root, /proc/1/fd shows 1

Re: [OpenWrt-Devel] [PATCH procd 7/8] Show the shutdown sequence on the active virtual terminal

2014-10-03 Thread John Crispin
see inline On 02/10/2014 14:56, Michel Stam wrote: > 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 /dev/tty0 upon reb

Re: [OpenWrt-Devel] [PATCH procd 7/8] Show the shutdown sequence on the active virtual terminal

2014-10-06 Thread Stam, Michel [FINT]
Kind regards, Michel Stam -Original Message- From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] On Behalf Of John Crispin Sent: Friday, October 03, 2014 18:35 PM To: openwrt-devel@lists.openwrt.org Subject: Re: [OpenWrt-Devel] [PATCH procd 7/8] Show the shutdown sequence o

Re: [OpenWrt-Devel] [PATCH procd 7/8] Show the shutdown sequence on the active virtual terminal

2014-10-06 Thread John Crispin
rt-devel@lists.openwrt.org > Subject: Re: [OpenWrt-Devel] [PATCH procd 7/8] Show the shutdown > sequence on the active virtual terminal > > see inline > > On 02/10/2014 14:56, Michel Stam wrote: >> procd by default writes to /dev/console. When rebooting, this means >>

Re: [OpenWrt-Devel] [PATCH procd 7/8] Show the shutdown sequence on the active virtual terminal

2014-10-06 Thread John Crispin
gt; [mailto:openwrt-devel-boun...@lists.openwrt.org] On Behalf Of John > Crispin Sent: Monday, October 06, 2014 16:46 PM To: > openwrt-devel@lists.openwrt.org Subject: Re: [OpenWrt-Devel] [PATCH > procd 7/8] Show the shutdown sequence on the active virtual > terminal > > > > On

Re: [OpenWrt-Devel] [PATCH procd 7/8] Show the shutdown sequence on the active virtual terminal

2014-10-06 Thread Stam, Michel [FINT]
Subject: Re: [OpenWrt-Devel] [PATCH procd 7/8] Show the shutdown sequence on the active virtual terminal On 06/10/2014 15:24, Stam, Michel [FINT] wrote: > Hello John, > > We have a tty0 (our board happened to have an x86 processor), the > situation is no different when you're