luci-app-advanced-reboot: Linksys MX5300 support
authorStan Grishin <stangri@melmac.ca>
Fri, 13 Dec 2024 19:49:38 +0000 (19:49 +0000)
committerStan Grishin <stangri@melmac.ca>
Fri, 13 Dec 2024 19:49:38 +0000 (19:49 +0000)
Signed-off-by: Stan Grishin <stangri@melmac.ca>
applications/luci-app-advanced-reboot/Makefile
applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-mx5300.json [new file with mode: 0644]

index 06d96f287aa7ff4248156beca96a404301b09db6..d1b2a15bdd0a05883a4b07fcb0642795df1827f9 100644 (file)
@@ -7,7 +7,7 @@ PKG_NAME:=luci-app-advanced-reboot
 PKG_LICENSE:=AGPL-3.0-or-later
 PKG_MAINTAINER:=Stan Grishin <stangri@melmac.ca>
 PKG_VERSION:=1.0.1
-PKG_RELEASE:=15
+PKG_RELEASE:=16
 
 LUCI_TITLE:=Advanced Linksys Reboot Web UI
 LUCI_URL:=https://github.com/stangri/luci-app-advanced-reboot/
diff --git a/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-mx5300.json b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-mx5300.json
new file mode 100644 (file)
index 0000000..2f4807a
--- /dev/null
@@ -0,0 +1,14 @@
+{
+       "vendorName": "Linksys",
+       "deviceName": "MX5300",
+       "boardNames": [ "linksys,mx5300" ],
+       "partition1MTD": "mtd21",
+       "partition2MTD": "mtd23",
+       "labelOffset": 192,
+       "bootEnv1": "boot_part",
+       "bootEnv1Partition1Value": 1,
+       "bootEnv1Partition2Value": 2,
+       "bootEnv2": null,
+       "bootEnv2Partition1Value": null,
+       "bootEnv2Partition2Value": null
+}