summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-advanced-reboot
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
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')
-rw-r--r--applications/luci-app-advanced-reboot/README.md1
-rw-r--r--applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-mr8300.lua14
2 files changed, 15 insertions, 0 deletions
diff --git a/applications/luci-app-advanced-reboot/README.md b/applications/luci-app-advanced-reboot/README.md
index 35b2d32d7..da26ef26b 100644
--- a/applications/luci-app-advanced-reboot/README.md
+++ b/applications/luci-app-advanced-reboot/README.md
@@ -15,6 +15,7 @@ Currently supported dual-partition devices include:
- Linksys EA4500
- Linksys EA6350v3
- Linksys EA8300
+- Linksys MR8300
- Linksys EA8500
- Linksys WRT1200AC
- Linksys WRT1900AC
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 000000000..49b3086db
--- /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
+}