ffrs-fw-dl/config.inc.php

188 lines
4.9 KiB
PHP
Raw Normal View History

<?php
/**
2017-06-04 10:26:25 +00:00
* @author Caspar Armster, Leo Maroni
* @copyright 2017 Leo Maroni, Caspar Armster Freifunk Hennef/Freie Netzwerker e.V. (www.freifunk-hennef.de / www.freie-netzwerker.de), Freifunk Siegburg (www.frefunk-siegburg.de)
* @license Licensed under GPLv3
*/
$entwicklung = array(
"beta",
"experimental",
"stable"
);
$installation = array(
"factory",
"sysupgrade"
);
for ($i = 0; $i < count($entwicklung); $i++) {
for ($j = 0; $j < count($installation); $j++) {
$variante[$entwicklung[$i]][$installation[$j]] = 0;
}
}
$hersteller = array(
array(
"name" => "8devices",
"filename" => "8devices",
"offset_modell" => 9,
"offset_version" => 4
),
array(
"name" => "Alfa",
"filename" => "alfa",
"offset_modell" => 5,
"offset_version" => 4
),
array(
"name" => "Allnet",
"filename" => "allnet",
"offset_modell" => 7,
"offset_version" => 4
),
2018-09-15 17:43:43 +00:00
array(
"name" => "AVM",
"filename" => "avm",
"offset_modell" => 4,
"offset_version" => 4
),
array(
"name" => "Buffalo",
"filename" => "buffalo",
"offset_modell" => 8,
"offset_version" => 4
),
2018-09-29 20:44:52 +00:00
array(
"name" => "China",
"filename" => "zbt",
2018-09-29 20:47:26 +00:00
"offset_modell" => 4,
2018-09-29 20:44:52 +00:00
"offset_version" => 4
),
array(
"name" => "D-Link",
"filename" => "d-link",
"offset_modell" => 7,
"offset_version" => -1
),
array(
"name" => "GL-Inet",
2017-09-23 16:46:38 +00:00
"filename" => "gl",
"offset_modell" => 3,
"offset_version" => 4
),
array(
"name" => "GL-Inet (alt)",
"filename" => "gl-inet",
"offset_modell" => 8,
"offset_version" => -1
),
array(
"name" => "LeMaker",
"filename" => "lemaker",
"offset_modell" => 8,
"offset_version" => 4
),
array(
"name" => "Linksys",
"filename" => "linksys",
"offset_modell" => 8,
"offset_version" => 4
),
array(
"name" => "Meraki",
"filename" => "meraki",
"offset_modell" => 7,
"offset_version" => 4
),
array(
"name" => "Netgear",
"filename" => "netgear",
"offset_modell" => 8,
"offset_version" => 4
),
2019-03-20 13:32:43 +00:00
array(
2019-03-20 13:25:54 +00:00
"name" => "Nexx",
"filename" => "nexx",
"offset_modell" => 5,
2019-03-20 13:32:43 +00:00
"offset_version" => 4
2019-03-20 13:25:54 +00:00
),
2019-08-03 07:20:50 +00:00
array(
"name" => "Noname",
"filename" => "-a5-",
2019-08-03 07:23:20 +00:00
"offset_modell" => 0,
2019-08-03 07:20:50 +00:00
"offset_version" => 4
),
2019-01-11 20:39:25 +00:00
array(
"name" => "Ocedo",
"filename" => "ocedo",
"offset_modell" => 6,
"offset_version" => 4
),
array(
"name" => "Onion",
"filename" => "onion",
"offset_modell" => 6,
"offset_version" => 4
),
array(
"name" => "Openmesh",
"filename" => "openmesh",
"offset_modell" => 9,
"offset_version" => 4
),
array(
"name" => "Raspberry Pi",
"filename" => "raspberry-pi",
"offset_modell" => 13,
"offset_version" => 4
),
array(
"name" => "TP-Link",
"filename" => "tp-link",
"offset_modell" => 8,
"offset_version" => -1
),
array(
"name" => "Ubiquiti",
"filename" => "ubiquiti",
"offset_modell" => 9,
"offset_version" => 4
),
2018-09-29 20:42:37 +00:00
array(
2018-09-29 20:44:52 +00:00
"name" => "UBNT",
2018-09-29 20:42:37 +00:00
"filename" => "ubnt",
2018-09-29 20:47:26 +00:00
"offset_modell" => 5,
2018-09-29 20:42:37 +00:00
"offset_version" => 4
2018-09-29 20:44:52 +00:00
),
2019-01-11 20:39:25 +00:00
array(
"name" => "VoCore",
2019-08-03 07:20:50 +00:00
"filename" => "vocore",
2019-01-11 20:39:25 +00:00
"offset_modell" => 0,
"offset_version" => 4
),
array(
"name" => "Western Digital",
"filename" => "-wd-",
"offset_modell" => 3,
"offset_version" => 4
),
array(
"name" => "x86",
"filename" => "x86",
"offset_modell" => 4,
"offset_version" => 4
2018-09-15 17:43:43 +00:00
),
array(
"name" => "Zyxel",
"filename" => "zyxel",
"offset_modell" => 6,
"offset_version" => 4
)
);
$anzahl_hersteller = count($hersteller);
$offset_sysupgrade = array(
0 => 0,
1 => 11
);