Commanding rc.local not to run at boot..possible.?
Jeff Vian
jvian10 at charter.net
Tue Apr 12 00:35:48 UTC 2005
On Mon, 2005-04-11 at 16:21 +0100, Paul Howarth wrote:
> Jeff Vian wrote:
> > On Sun, 2005-04-10 at 22:00 -0400, Claude Jones wrote:
> >
> >>Mark Sargent wrote:
> >>
> >
> > Have you tried that and made it work? 8-)
> >
> > This is what I see in rc.sysinit (which gives that message).
> > -------------------------------------
> > if [ "$PROMPT" != "no" ]; then
> > echo -en $"\t\tPress 'I' to enter interactive startup."
> > echo
> > fi
> > -------------------------------------
> >
> > I don't find anything in the script to ever even read the input, let
> > alone assign the input to a variable or use it.
> >
> > If you can tell me where it is ever assigned/used in the script I would
> > appreciate it. Maybe I can learn something about scripting. :-)
>
> The snippet above is what produces the prompt to press the "I" key. The
> key isn't read until *much* later. Search for "getkey" in
> /etc/rc.d/rc.sysinit. If the "I" key is detected as having been pressed
> at the appropriate time, the file /var/run/confirm is created, and the
> presence or absence of this file is used by /etc/rc.d/rc to determine
> whether or not it should prompt for whether each individual initscript
> should be run.
>
> Paul.
>
Thank you Paul.
I had totally missed that, and should not have. Guess I need to read a
lot closer at times.
More information about the fedora-list
mailing list