summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-wrt1200ac.lua
diff options
context:
space:
mode:
authorStan Grishin <stangri@melmac.net>2020-01-10 07:54:11 -0700
committerStan Grishin <stangri@melmac.net>2020-01-10 07:54:11 -0700
commit37dd98bde3ec04d540dafa6302cdfcf9e2ea07aa (patch)
tree3377f0adf6ff75b3dfd14a16246f79412e7c0ea0 /applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-wrt1200ac.lua
parentc8909a6bf8150e1798fe205acbbcfa088f9da5cb (diff)
luci-app-advanced-reboot: pluggable device files, highlight current partition
Signed-off-by: Stan Grishin <stangri@melmac.net>
Diffstat (limited to 'applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-wrt1200ac.lua')
-rw-r--r--applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-wrt1200ac.lua14
1 files changed, 14 insertions, 0 deletions
diff --git a/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-wrt1200ac.lua b/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-wrt1200ac.lua
new file mode 100644
index 0000000000..f14fba2c9b
--- /dev/null
+++ b/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-wrt1200ac.lua
@@ -0,0 +1,14 @@
+return {
+ vendorName = "Linksys",
+ deviceName = "WRT1200AC",
+ boardName = "linksys-caiman",
+ partition1MTD = "mtd4",
+ partition2MTD = "mtd6",
+ labelOffset = 32,
+ bootEnv1 = "boot_part",
+ bootEnv1Partition1Value = 1,
+ bootEnv1Partition2Value = 2,
+ bootEnv2 = "bootcmd",
+ bootEnv2Partition1Value = "run nandboot",
+ bootEnv2Partition2Value = "run altnandboot"
+}