summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-wrt1900ac.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-wrt1900ac.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-wrt1900ac.lua')
-rw-r--r--applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-wrt1900ac.lua14
1 files changed, 14 insertions, 0 deletions
diff --git a/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-wrt1900ac.lua b/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-wrt1900ac.lua
new file mode 100644
index 0000000000..01bec1bdeb
--- /dev/null
+++ b/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-wrt1900ac.lua
@@ -0,0 +1,14 @@
+return {
+ vendorName = "Linksys",
+ deviceName = "WRT1900AC",
+ boardName = "linksys-mamba",
+ partition1MTD = "mtd4",
+ partition2MTD = "mtd6",
+ labelOffset = 32,
+ bootEnv1 = "boot_part",
+ bootEnv1Partition1Value = 1,
+ bootEnv1Partition2Value = 2,
+ bootEnv2 = "bootcmd",
+ bootEnv2Partition1Value = "run nandboot",
+ bootEnv2Partition2Value = "run altnandboot"
+}