From 5985f871db1ac05eaecac7b9cbe4e48ec13a1bf4 Mon Sep 17 00:00:00 2001 From: alexander eickhoff Date: Tue, 10 Mar 2015 14:18:46 +0100 Subject: [PATCH] add support for WNDR3700v2 ART model string --- ...port-for-WNDR3700v2-ART-model-string.patch | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 patches/openwrt/0017-add-support-for-WNDR3700v2-ART-model-string.patch diff --git a/patches/openwrt/0017-add-support-for-WNDR3700v2-ART-model-string.patch b/patches/openwrt/0017-add-support-for-WNDR3700v2-ART-model-string.patch new file mode 100644 index 00000000..e0b5953a --- /dev/null +++ b/patches/openwrt/0017-add-support-for-WNDR3700v2-ART-model-string.patch @@ -0,0 +1,31 @@ +From 5d8589abac67c0ca470b9ddad337946e98fa944b Mon Sep 17 00:00:00 2001 +From: alexander eickhoff +Date: Tue, 10 Mar 2015 14:05:14 +0100 +Subject: [PATCH 17/17] add support for WNDR3700v2 ART model string + +- https://github.com/freifunk-gluon/gluon/issues/294 +- https://dev.openwrt.org/ticket/18992 + +-not test completely +--- + target/linux/ar71xx/base-files/lib/ar71xx.sh | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh +index 9e70397..a620db9 100755 +--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh ++++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh +@@ -46,6 +46,10 @@ wndr3700_board_detect() { + else + machine="NETGEAR $model" + fi ++ if [ -z "$model" ] || [ "$model" = "NDR3700v2" ]; then ++ machine="NETGEAR WNDR3700v2" ++ fi ++ + ;; + esac + +-- +1.7.10.4 +