diff options
author | Stan Grishin <stangri@melmac.net> | 2020-08-24 02:14:14 +0000 |
---|---|---|
committer | Stan Grishin <stangri@melmac.net> | 2020-08-24 02:14:14 +0000 |
commit | be7840942288f87bdb1ef78c86ab00011b67d6bf (patch) | |
tree | dc814ee98fbe0d45e7038830053e773cc202a354 /applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices | |
parent | f555ab56a861dadbba37fad4478846dbfcff5031 (diff) |
luci-app-advanced-reboot: bugifx: btn style; board names for some Linksys devices
Signed-off-by: Stan Grishin <stangri@melmac.net>
Diffstat (limited to 'applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices')
3 files changed, 29 insertions, 1 deletions
diff --git a/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-e4200v2.lua b/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-e4200v2.lua new file mode 100644 index 0000000000..50c4970ed9 --- /dev/null +++ b/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-e4200v2.lua @@ -0,0 +1,14 @@ +return { + vendorName = "Linksys", + deviceName = "E4200v2", + boardNames = { "linksys-e4200v2", "linksys,e4200v2" }, + partition1MTD = "mtd3", + partition2MTD = "mtd5", + labelOffset = 32, + bootEnv1 = "boot_part", + bootEnv1Partition1Value = 1, + bootEnv1Partition2Value = 2, + bootEnv2 = "bootcmd", + bootEnv2Partition1Value = "run nandboot", + bootEnv2Partition2Value = "run altnandboot" +} diff --git a/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-ea3500.lua b/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-ea3500.lua index 553788fd57..2b72cd4b7d 100644 --- a/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-ea3500.lua +++ b/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-ea3500.lua @@ -1,7 +1,7 @@ return { vendorName = "Linksys", deviceName = "EA3500", - boardNames = { "linksys-audi", "linksys,audi" }, + boardNames = { "linksys-audi", "linksys,audi", "linksys-ea3500", "linksys,ea3500" }, partition1MTD = "mtd3", partition2MTD = "mtd5", labelOffset = 32, diff --git a/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-ea4500.lua b/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-ea4500.lua new file mode 100644 index 0000000000..10f53d1d78 --- /dev/null +++ b/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-ea4500.lua @@ -0,0 +1,14 @@ +return { + vendorName = "Linksys", + deviceName = "EA4500", + boardNames = { "linksys-e4500", "linksys,e4500" }, + partition1MTD = "mtd3", + partition2MTD = "mtd5", + labelOffset = 32, + bootEnv1 = "boot_part", + bootEnv1Partition1Value = 1, + bootEnv1Partition2Value = 2, + bootEnv2 = "bootcmd", + bootEnv2Partition1Value = "run nandboot", + bootEnv2Partition2Value = "run altnandboot" +} |