netifd: sync with trunk r35251
authorFelix Fietkau <nbd@openwrt.org>
Sun, 20 Jan 2013 15:52:19 +0000 (15:52 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 20 Jan 2013 15:52:19 +0000 (15:52 +0000)
SVN-Revision: 35254

package/netifd/Makefile
package/netifd/files/etc/init.d/network
package/netifd/files/lib/netifd/proto/dhcp.sh

index 4e247cd..4fbc793 100644 (file)
@@ -1,17 +1,23 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=netifd
-PKG_VERSION:=2012-12-17.1
+PKG_VERSION:=2013-01-20
 PKG_RELEASE=$(PKG_SOURCE_VERSION)
 
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_URL:=git://nbd.name/luci2/netifd.git
 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
-PKG_SOURCE_VERSION:=2eca28705a27ab37ee902308af2c134c64c95e61
+PKG_SOURCE_VERSION:=ed984c7aea436999c38cc40c5ebaf98bd8294df4
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
+PKG_MAINTAINER:=Felix Fietkau <nbd@openwrt.org>
 # PKG_MIRROR_MD5SUM:=
 # CMAKE_INSTALL:=1
 
+PKG_LICENSE:=GPLv2
+PKG_LICENSE_FILES:=
+
+PKG_BUILD_PARALLEL:=1
+
 include $(INCLUDE_DIR)/package.mk
 include $(INCLUDE_DIR)/cmake.mk
 
index 28b1ba3..429f33d 100755 (executable)
@@ -19,7 +19,7 @@ start() {
        include /lib/network
        setup_switch
 
-       sleep 1
+       sleep 5
 
        /sbin/wifi down
        /sbin/wifi up
index 7dea1cf..3830878 100755 (executable)
@@ -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"