making udhcpc persistent

David Collier from_busybox_maillist at dexdyne.com
Thu Dec 2 17:20:00 UTC 2010


I'd like to set udhcpc up so that it sits there forever, periodically
retrying for a lease, even if it doesn't initially get one, and the same
behaviour following any "deconfig"/"nak renewal" that comes along.....

Can anyone confirm that if I run
 
        udhcpc -i ${interface}               \
               -p ${sole_udhcpc_pid_file}    \
               -H ${NET_HOST_NAME}           \
               -s /etc/udhcp/dhcp_script.sh  \
               -A 600                        \
               -b                            \
               -r ${dhcp_request_ip}

it should behave like that ?

TVM

David


More information about the busybox mailing list