Skip to content
Snippets Groups Projects
Commit 7f5d2b42 authored by Mike Baker's avatar Mike Baker
Browse files

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

SVN-Revision: 658
parent 13031a44
No related branches found
No related tags found
No related merge requests found
......@@ -13,8 +13,8 @@ case "$1" in
renew|bound)
ifconfig $interface $ip \
${broadcast:+broadcast $broadcast} \
${subnet:+netmask $subnet}
netmask ${subnet:-255.255.255.0} \
broadcast ${broadcast:-+}
if [ -n "$router" ] ; then
echo "deleting routers"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment