[PATCH 1/1] - fixed BOARD value for WDR4300

Steffen Pankratz kratz00 at gmx.de
Do Dez 10 18:51:00 CET 2015


Signed-off-by: Steffen Pankratz <kratz00 at gmx.de>
---
 bsp/default/root_file_system/etc/rc.local.tpl          | 3 +++
 bsp/wdr4300/root_file_system/etc/network.tl-wdr4300    | 9 ---------
 bsp/wdr4300/root_file_system/etc/network.tl-wdr4300-v1 | 9 +++++++++
 3 files changed, 12 insertions(+), 9 deletions(-)
 delete mode 100644 bsp/wdr4300/root_file_system/etc/network.tl-wdr4300
 create mode 100644 bsp/wdr4300/root_file_system/etc/network.tl-wdr4300-v1

diff --git a/bsp/default/root_file_system/etc/rc.local.tpl b/bsp/default/root_file_system/etc/rc.local.tpl
index b115fc1..2335b5e 100755
--- a/bsp/default/root_file_system/etc/rc.local.tpl
+++ b/bsp/default/root_file_system/etc/rc.local.tpl
@@ -23,6 +23,9 @@ case "$BOARD" in
     nanostation-m)
         BOARD=ubnt-nano-m
         ;;
+    tl-wdr4300)
+        BOARD=tl-wdr4300-v1
+        ;;
 esac
 
 if ! uci get board.model.name; then
diff --git a/bsp/wdr4300/root_file_system/etc/network.tl-wdr4300 b/bsp/wdr4300/root_file_system/etc/network.tl-wdr4300
deleted file mode 100644
index fcac123..0000000
--- a/bsp/wdr4300/root_file_system/etc/network.tl-wdr4300
+++ /dev/null
@@ -1,9 +0,0 @@
-WANDEV=eth0
-SWITCHDEV=eth0
-CLIENT_PORTS="0t 4 5"
-WAN_PORTS="0t 1"
-BATMAN_PORTS="0t 2 3"
-
-CLIENTIF="eth0.1 w2ap w5ap"
-ETHMESHMAC=
-ROUTERMAC=w5mesh
\ No newline at end of file
diff --git a/bsp/wdr4300/root_file_system/etc/network.tl-wdr4300-v1 b/bsp/wdr4300/root_file_system/etc/network.tl-wdr4300-v1
new file mode 100644
index 0000000..fcac123
--- /dev/null
+++ b/bsp/wdr4300/root_file_system/etc/network.tl-wdr4300-v1
@@ -0,0 +1,9 @@
+WANDEV=eth0
+SWITCHDEV=eth0
+CLIENT_PORTS="0t 4 5"
+WAN_PORTS="0t 1"
+BATMAN_PORTS="0t 2 3"
+
+CLIENTIF="eth0.1 w2ap w5ap"
+ETHMESHMAC=
+ROUTERMAC=w5mesh
\ No newline at end of file
-- 
2.6.3




Mehr Informationen über die Mailingliste franken-dev