aboutsummaryrefslogtreecommitdiffstats
path: root/package/netifd/files
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-01-20 15:52:19 +0000
committerFelix Fietkau <nbd@openwrt.org>2013-01-20 15:52:19 +0000
commit1ee4c9b2910259c7321cdd16a3b2d40df3322760 (patch)
tree4cb3ea201245c91eadfad4119ca4569ec26bbdde /package/netifd/files
parenta73e82053478187dbe51300cbba6c01642bbd07a (diff)
downloadupstream-1ee4c9b2910259c7321cdd16a3b2d40df3322760.tar.gz
upstream-1ee4c9b2910259c7321cdd16a3b2d40df3322760.tar.bz2
upstream-1ee4c9b2910259c7321cdd16a3b2d40df3322760.zip
netifd: sync with trunk r35251
git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@35254 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/netifd/files')
-rwxr-xr-xpackage/netifd/files/etc/init.d/network2
-rwxr-xr-xpackage/netifd/files/lib/netifd/proto/dhcp.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/package/netifd/files/etc/init.d/network b/package/netifd/files/etc/init.d/network
index 28b1ba3dde..429f33dd92 100755
--- a/package/netifd/files/etc/init.d/network
+++ b/package/netifd/files/etc/init.d/network
@@ -19,7 +19,7 @@ start() {
include /lib/network
setup_switch
- sleep 1
+ sleep 5
/sbin/wifi down
/sbin/wifi up
diff --git a/package/netifd/files/lib/netifd/proto/dhcp.sh b/package/netifd/files/lib/netifd/proto/dhcp.sh
index 7dea1cf6c2..38308785df 100755
--- a/package/netifd/files/lib/netifd/proto/dhcp.sh
+++ b/package/netifd/files/lib/netifd/proto/dhcp.sh
@@ -26,7 +26,7 @@ proto_dhcp_setup() {
append dhcpopts "-O $opt"
done
- [ "$broadcast" = 1 ] && broadcast="-O broadcast" || broadcast=
+ [ "$broadcast" = 1 ] && broadcast="-B" || broadcast=
[ -n "$clientid" ] && clientid="-x 0x3d:${clientid//:/}" || clientid="-C"
proto_export "INTERFACE=$config"