On Wed, May 15, 2002 at 04:10:26PM -0500, Casey Scott wrote:
> Hi all,
> 
>       Is there a keystroke that will stop a boot script? For example, if the system 
> was waiting for a dhcp address to be given to it, and the system is not on a 
> network. Something similar to cntrl-c in the console.

Other than ctrl-alt-del, there is not much you can do while the system
is booting.  To fix your problem, though, you can modify the /sbin/ifup
script to limit the DHCP timeout to something like 12-15 seconds.  I
found in RH 7.3 that it tries TWO DHCP clients before giving up.  First
dhcpcd, then pump, so you have to wait for it to time out twice.  So, I
just commented out the pump line and now I wait 12 seconds on my laptop
when I'm home on the wireless :)

Here is the relevant fragment:

# tkw -- added -t 12 for DHCP timeout and comment out call to pump.
# it takes too long to use two DHCP clients.
    if [ -x /sbin/dhcpcd ] && /sbin/dhcpcd ${DHCPCDARGS} -t 12 ${DEVICE}
; then
        echo $" done."
#    elif [ -z "`pidof -x dhcpcd`" ] && [ -x /sbin/pump ] && /sbin/pump
${PUMPAR
GS} -i ${DEVICE}; then
#       echo $" done."

Best Regards,
Keith
-- 
LPIC-2, MCSE, N+
Will we all fight for the right to be free?
Got spam? Get spastic http://spastic.sourceforge.net



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to