mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-28 00:04:36 +02:00
use busybox's "ifconfig broadcast +" if no broadcast is sent via dhcp
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@658 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
fe9440143e
commit
e311d137d2
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user