Description of Problem: Add ability to set a delay period for dhcpcd for the /sbin/ifup script Version-Release number of selected component (if applicable): 7.2 http://www.linuxquestions.org/questions/history/19491 I altered the /sbin/ifup file to allow you to add DHCP_CLIENT_TIMEOUT to any ifcfg-eth* file (such as /etc/sysconfig/network-scripts/ifcfg-eth0 Can you please build this into the Redhat distribution (and possibly add this to the kernel for all distributions)? (I'm not entirely sure if its 100% correctly done, but it works for me ;-) excerpt /sbin/ifup if [ -n "${DYNCONFIG}" ]; then PUMPARGS=$PUMPARGS #-------------------------------------- # Brian Bober # Hacked to add ability for DHCP_CLIENT_TIMEOUT (in seconds) # variable to /etc/sysconfig/network-scripts/ifcfg-eth* scripts #-------------------------------------- if [ -n "${DHCP_CLIENT_TIMEOUT}" ]; then DHCPCDARGS="${DHCPCDARGS} -t ${DHCP_CLIENT_TIMEOUT}" fi #-------------------------------------- # End Hack #-------------------------------------- DHCPCDARGS="$DHCPCDARGS -n" if [ -n "${DHCP_HOSTNAME}" ]; then PUMPARGS="${PUMPARGS} -h ${DHCP_HOSTNAME}" DHCPCDARGS="${DHCPCDARGS} -h ${DHCP_HOSTNAME}" fi if [ -n "${NEEDHOSTNAME}" ]; then PUMPARGS="${PUMPARGS} --lookup-hostname"
By delay, I meant timeout
*** This bug has been marked as a duplicate of 64507 ***