summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-wrt1900acv2.lua
diff options
context:
space:
mode:
authorHannu Nyman <hannu.nyman@iki.fi>2020-01-10 17:19:55 +0200
committerGitHub <noreply@github.com>2020-01-10 17:19:55 +0200
commit1c75687854395cb95fa18668e5d823fb2fdfd085 (patch)
treef7025446a4725733dc87828fe259fa6e278659d2 /applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-wrt1900acv2.lua
parent1ab364499aa487567807810a18f2a394f8a565b0 (diff)
parent37dd98bde3ec04d540dafa6302cdfcf9e2ea07aa (diff)
Merge pull request #3492 from stangri/master-luci-app-advanced-reboot
luci-app-advanced-reboot: pluggable device files, highlight current partition
Diffstat (limited to 'applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-wrt1900acv2.lua')
-rw-r--r--applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-wrt1900acv2.lua14
1 files changed, 14 insertions, 0 deletions
diff --git a/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-wrt1900acv2.lua b/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-wrt1900acv2.lua
new file mode 100644
index 0000000000..f9b8244382
--- /dev/null
+++ b/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-wrt1900acv2.lua
@@ -0,0 +1,14 @@
+return {
+ vendorName = "Linksys",
+ deviceName = "WRT1900ACv2",
+ boardName = "linksys-cobra",
+ partition1MTD = "mtd4",
+ partition2MTD = "mtd6",
+ labelOffset = 32,
+ bootEnv1 = "boot_part",
+ bootEnv1Partition1Value = 1,
+ bootEnv1Partition2Value = 2,
+ bootEnv2 = "bootcmd",
+ bootEnv2Partition1Value = "run nandboot",
+ bootEnv2Partition2Value = "run altnandboot"
+}