summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-ea4500.lua
diff options
context:
space:
mode:
authorStan <stangri@melmac.net>2020-08-23 19:17:41 -0700
committerGitHub <noreply@github.com>2020-08-23 19:17:41 -0700
commit2d1613d0ebe2f4f5de348a28b6ee388a959ef86c (patch)
treedc814ee98fbe0d45e7038830053e773cc202a354 /applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-ea4500.lua
parentf555ab56a861dadbba37fad4478846dbfcff5031 (diff)
parentbe7840942288f87bdb1ef78c86ab00011b67d6bf (diff)
Merge pull request #4384 from stangri/master-luci-app-advanced-reboot
luci-app-advanced-reboot: bugifx: btn style; board names for some Linksys devices
Diffstat (limited to 'applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-ea4500.lua')
-rw-r--r--applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-ea4500.lua14
1 files changed, 14 insertions, 0 deletions
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"
+}