[lfs-support] I'm rc interactively confused

2012-11-16 Thread alex lupu
Hi Bruce, Bruce: read -t "${itime}" -n 1 interactive 2>&1 > /dev/null $interactive is not set until the read command completes. It shouldn't need to be set in the script. Alex: This is kind of a chicken and egg situation. If for some reason (say, unknown to us mortals as yet) the 'read' does

Re: [lfs-support] I'm rc interactively confused

2012-11-16 Thread Bruce Dubbs
alex lupu wrote: > In the process of trying to stop the boot sequence right after VFS > (different story), I took a closer look at '/etc/rc.d/init.d/rc' workings: > > 1. I created a file '/etc/sysconfig/rc.site': > IPROMPT="yes" > itime=10 That's correct. > 2. In '/etc/rc.d/init.d/rc', right af

[lfs-support] I'm rc interactively confused

2012-11-16 Thread alex lupu
In the process of trying to stop the boot sequence right after VFS (different story), I took a closer look at '/etc/rc.d/init.d/rc' workings: 1. I created a file '/etc/sysconfig/rc.site': IPROMPT="yes" itime=10 2. In '/etc/rc.d/init.d/rc', right after read -t "${itime}" -n 1 interactive 2>&1 >