summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices
diff options
context:
space:
mode:
authorHans Geiblinger <cybrnook2002@yahoo.com>2020-09-02 13:50:10 -0400
committerHans <cybrnook2002@yahoo.com>2020-09-03 16:52:35 -0400
commitcc140782f39e30ee209fd746c60ef742dda08c61 (patch)
treea8203f3cd3fc61d87d988680ede32be8b990d779 /applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices
parent82d438489817ac7ab05195e21e427f29d5525a63 (diff)
luci-app-advanced-reboot: add linksys-mr8300 support
Signed-off-by: Hans Geiblinger <cybrnook2002@yahoo.com> Tested and confirmed working against master branch and mr8300
Diffstat (limited to 'applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices')
-rw-r--r--applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-mr8300.lua14
1 files changed, 14 insertions, 0 deletions
diff --git a/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-mr8300.lua b/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-mr8300.lua
new file mode 100644
index 0000000000..49b3086db8
--- /dev/null
+++ b/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-mr8300.lua
@@ -0,0 +1,14 @@
+return {
+ vendorName = "Linksys",
+ deviceName = "MR8300",
+ boardNames = { "linksys-mr8300", "linksys,mr8300" },
+ partition1MTD = "mtd10",
+ partition2MTD = "mtd12",
+ labelOffset = 192,
+ bootEnv1 = "boot_part",
+ bootEnv1Partition1Value = 1,
+ bootEnv1Partition2Value = 2,
+ bootEnv2 = nil,
+ bootEnv2Partition1Value = nil,
+ bootEnv2Partition2Value = nil
+}