forked from Ivasoft/openwrt
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>
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user