summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2015-11-24 13:39:53 +0000
committerJo-Philipp Wich <jow@openwrt.org>2015-11-24 13:39:53 +0000
commit6d3901bf76c4e2278e0e30a5471be04af4663107 (patch)
tree10fcdaeda9c941cf726383ca2f017c0ce0768026
parentc52d6d4f45be137c599dc10ed5cd6dbc924b3ef9 (diff)
downloadmtk-20170518-6d3901bf76c4e2278e0e30a5471be04af4663107.zip
mtk-20170518-6d3901bf76c4e2278e0e30a5471be04af4663107.tar.gz
mtk-20170518-6d3901bf76c4e2278e0e30a5471be04af4663107.tar.bz2
base-files: config_generate: honour port_mask property (#20963)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47609
-rw-r--r--package/base-files/Makefile2
-rwxr-xr-xpackage/base-files/files/bin/config_generate2
2 files changed, 2 insertions, 2 deletions
diff --git a/package/base-files/Makefile b/package/base-files/Makefile
index b076dd9..cbd8ac0 100644
--- a/package/base-files/Makefile
+++ b/package/base-files/Makefile
@@ -11,7 +11,7 @@ include $(INCLUDE_DIR)/kernel.mk
include $(INCLUDE_DIR)/version.mk
PKG_NAME:=base-files
-PKG_RELEASE:=162
+PKG_RELEASE:=163
PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/
PKG_BUILD_DEPENDS:=opkg/host usign/host
diff --git a/package/base-files/files/bin/config_generate b/package/base-files/files/bin/config_generate
index 7bec566..0c8df16 100755
--- a/package/base-files/files/bin/config_generate
+++ b/package/base-files/files/bin/config_generate
@@ -123,7 +123,7 @@ generate_led() {
json_select led
json_select $key
- json_get_vars name sysfs type trigger device interface default
+ json_get_vars name sysfs type trigger device interface default port_mask
json_select ..
json_select ..