[lfs-support] I'm rc interactively confused

alex lupu alupu01 at gmail.com
Fri Nov 16 16:30:57 PST 2012


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 > /dev/null
    (before "fi"), I inserted these three lines:

echo runlevel: $runlevel
echo interactive: $interactive
interactive=I

NOTES
 1. The above "interactive=I" was needed to force an answer read (key I)
 because the second line display told me there was no read.

 2. My keyboard and mouse are USB
------------------------------------------------------------------------
RESULT on the screen:

runlevel: S
interactive:
Run /etc/rc.d/rcS.d/S00mountvirtfs start (Yes/no/continue)?

At this point the machine is unresponsive.

Am I missing something?
Should I put something in '/etc/sysconfig/modules', etc.?
Etc.?

Reference:  lfs-bootscripts-20121013

Thanks,
-- Alex



More information about the lfs-support mailing list