use busybox's "ifconfig broadcast +" if no broadcast is sent via dhcp

SVN-Revision: 658
This commit is contained in:
Mike Baker 2005-04-18 03:52:42 +00:00
parent 13031a44b0
commit 7f5d2b4212

View file

@ -13,8 +13,8 @@ case "$1" in
renew|bound) renew|bound)
ifconfig $interface $ip \ ifconfig $interface $ip \
${broadcast:+broadcast $broadcast} \ netmask ${subnet:-255.255.255.0} \
${subnet:+netmask $subnet} broadcast ${broadcast:-+}
if [ -n "$router" ] ; then if [ -n "$router" ] ; then
echo "deleting routers" echo "deleting routers"