diff options
author | Mathias Kresin <dev@kresin.me> | 2016-12-23 08:21:31 +0100 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2016-12-24 10:03:38 +0100 |
commit | ae3ac76e565724e188138dafe38ebeed122e2cf8 (patch) | |
tree | a0cfd911e11921e6ce31ba666e17c57990511a79 /target/linux/ramips/base-files/etc/board.d/02_network | |
parent | a18488a0aadc0ceca9561f93f4456839b9302857 (diff) | |
download | upstream-ae3ac76e565724e188138dafe38ebeed122e2cf8.tar.gz upstream-ae3ac76e565724e188138dafe38ebeed122e2cf8.tar.bz2 upstream-ae3ac76e565724e188138dafe38ebeed122e2cf8.zip |
ramips: use destinct 11AC NAS board name
Use a distinct board name even if the board is near to identical to
the WeVO W2914NS v2.
To make sure that a 11AC NAS image can not be installed on a
WeVO W2914NS v2, both board need to use different names.
Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/ramips/base-files/etc/board.d/02_network')
-rwxr-xr-x | target/linux/ramips/base-files/etc/board.d/02_network | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network index 94cf0ec7fc..daf9b33a74 100755 --- a/target/linux/ramips/base-files/etc/board.d/02_network +++ b/target/linux/ramips/base-files/etc/board.d/02_network @@ -32,6 +32,11 @@ ramips_setup_interfaces() local board="$1" case $board in + 11acnas|\ + w2914nsv2) + ucidef_add_switch "switch0" \ + "0:lan:4" "1:lan:3" "2:lan:2" "3:lan:1" "4:wan:5" "6@eth0" + ;; 3g150b|\ 3g300m|\ a5-v11|\ @@ -251,10 +256,6 @@ ramips_setup_interfaces() ucidef_add_switch "switch0" \ "1:lan" "2:lan" "3:lan" "4:lan" "0:wan" "5@eth0" ;; - w2914nsv2) - ucidef_add_switch "switch0" \ - "0:lan:4" "1:lan:3" "2:lan:2" "3:lan:1" "4:wan:5" "6@eth0" - ;; wcr-150gn) ucidef_add_switch "switch0" \ "0:lan" "6t@eth0" |