aboutsummaryrefslogtreecommitdiffstats
path: root/_plugins/firmwares.rb
diff options
context:
space:
mode:
authornutzer <you@domain.com>2017-01-20 10:18:37 +0100
committernutzer <you@domain.com>2017-01-20 10:18:37 +0100
commitdd02844e5e487e236b3bcde00dac8b6cfd4eb176 (patch)
tree452de52fe27eac47e3b44693f6c2cca9a96178d4 /_plugins/firmwares.rb
parent855466a7d2ca697784606d9f8a92a1771d15c69f (diff)
comit changes from many people and add FIXME notes
Diffstat (limited to '_plugins/firmwares.rb')
-rw-r--r--_plugins/firmwares.rb20
1 files changed, 12 insertions, 8 deletions
diff --git a/_plugins/firmwares.rb b/_plugins/firmwares.rb
index 649d534..dd3759e 100644
--- a/_plugins/firmwares.rb
+++ b/_plugins/firmwares.rb
@@ -30,6 +30,7 @@ GROUPS = {
"Network-AP121U",
"Network-Hornet-UB"
],
+ #FIXME: alfa-networks to alfa in OpenWRT Wiki info links and Router node pictures
extract_rev: lambda { |model, suffix| nil },
},
"Allnet" => {
@@ -157,6 +158,7 @@ GROUPS = {
"TL-WR940N/ND",
"TL-WR941N/ND",
],
+ #FIXME: replace / (as in TL-WA701N/ND) with -, thereby fixing the Images and Info OpenWRT Wiki Links
extract_rev: lambda { |model, suffix| /^-(.+?)(?:-sysupgrade)?\.bin$/.match(suffix)[1] },
},
"Ubiquiti" => {
@@ -194,9 +196,19 @@ GROUPS = {
#els
if model == 'UniFi' then
'UniFi AP (LR)'
+ elseif model == 'N600' then
+ 'My Net N600'
+ elseif model == 'N750' then
+ 'My Net N750'
else
model
end
+ transform_group: lambda { |group|
+ if group == 'wd-my-net' then
+ 'WD (Western Digital)'
+ else
+ group
+ end
}
},
"wd-my-net" => {
@@ -205,14 +217,6 @@ GROUPS = {
"N750",
],
extract_rev: lambda { |model, suffix| nil },
-
- if rev == ''
- 'XW'
- elsif model == 'Nanostation M' or model == 'Loco M' or model == 'Nanostation-Loco M' or model == 'Bullet M'
- 'XM'
- else
- nil
- end
},
"x86" => {
models: [