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