0017-netifd-update-to-latest-git-master.patch 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. From: Matthias Schiffer <mschiffer@universe-factory.net>
  2. Date: Wed, 9 Mar 2016 06:46:44 +0100
  3. Subject: netifd: update to latest git master
  4. diff --git a/package/network/config/netifd/Makefile b/package/network/config/netifd/Makefile
  5. index 619024b..f7563d5 100644
  6. --- a/package/network/config/netifd/Makefile
  7. +++ b/package/network/config/netifd/Makefile
  8. @@ -1,13 +1,13 @@
  9. include $(TOPDIR)/rules.mk
  10. PKG_NAME:=netifd
  11. -PKG_VERSION:=2015-12-16
  12. +PKG_VERSION:=2016-03-07
  13. PKG_RELEASE=$(PKG_SOURCE_VERSION)
  14. PKG_SOURCE_PROTO:=git
  15. -PKG_SOURCE_URL:=http://git.openwrt.org/project/netifd.git
  16. +PKG_SOURCE_URL=$(OPENWRT_GIT)/project/netifd.git
  17. PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
  18. -PKG_SOURCE_VERSION:=245527193e90906451be35c2b8e972b8712ea6ab
  19. +PKG_SOURCE_VERSION:=bd1ee3efb46ae013d81b1aec51668e7595274e69
  20. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
  21. PKG_MAINTAINER:=Felix Fietkau <nbd@openwrt.org>
  22. # PKG_MIRROR_MD5SUM:=
  23. diff --git a/package/network/config/netifd/files/etc/init.d/network b/package/network/config/netifd/files/etc/init.d/network
  24. index 542fc08..bdadbbc 100755
  25. --- a/package/network/config/netifd/files/etc/init.d/network
  26. +++ b/package/network/config/netifd/files/etc/init.d/network
  27. @@ -21,7 +21,6 @@ start_service() {
  28. procd_set_param watch network.interface
  29. [ -e /proc/sys/kernel/core_pattern ] && {
  30. procd_set_param limits core="unlimited"
  31. - echo '/tmp/%e.%p.%s.%t.core' > /proc/sys/kernel/core_pattern
  32. }
  33. procd_close_instance
  34. }
  35. diff --git a/package/network/config/netifd/files/sbin/ifup b/package/network/config/netifd/files/sbin/ifup
  36. index af3aaa8..5515b91 100755
  37. --- a/package/network/config/netifd/files/sbin/ifup
  38. +++ b/package/network/config/netifd/files/sbin/ifup
  39. @@ -67,12 +67,10 @@ if [ -n "$setup_wifi" ] && grep -sq config /etc/config/wireless; then
  40. fi
  41. }
  42. - local radio_devs
  43. - local network="$1"
  44. + network="$1"
  45. config_load wireless
  46. config_foreach find_related_radios wifi-iface
  47. - local dev
  48. for dev in $(echo "$radio_devs" | sort -u); do
  49. /sbin/wifi up "$dev"
  50. done