strange getkey paragrah in /etc/rc.d/rc.sysinit for Fedora Core ???

Robinson Tiemuqinke hahaha_30k at yahoo.com
Sat Mar 25 00:22:34 UTC 2006


Hi,

 Anyone know why there is the following stanza in
/etc/rc.d/rc.sysinit for all Fedora Core releases? 
What’s the purposes of it? I asked it because some of
my machines hangs at bootup and I have to press
“ctrl-c” to let it continue to run.

 And, where is the “PROMPT” variable get set? Set to
which value? 

 Thanks a lot..


Testnode01 #   cat /etc/rc.d/rc.sysinit 


{


touch /.autofsck
kill -TERM `/sbin/pidof getkey` >/dev/null 2>&1
} &

if strstr "$cmdline" confirm ; then
        touch /var/run/confirm
fi
if [ "$PROMPT" != "no" ]; then
        /sbin/getkey i && touch /var/run/confirm
fi
wait




__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 




More information about the fedora-list mailing list