From 09e542292a8a323adcdf399a597737341c79715c Mon Sep 17 00:00:00 2001 From: Stan Grishin Date: Fri, 13 Dec 2024 19:49:38 +0000 Subject: [PATCH] luci-app-advanced-reboot: Linksys MX5300 support Signed-off-by: Stan Grishin --- applications/luci-app-advanced-reboot/Makefile | 2 +- .../advanced-reboot/devices/linksys-mx5300.json | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-mx5300.json diff --git a/applications/luci-app-advanced-reboot/Makefile b/applications/luci-app-advanced-reboot/Makefile index 06d96f287aa7..d1b2a15bdd0a 100644 --- a/applications/luci-app-advanced-reboot/Makefile +++ b/applications/luci-app-advanced-reboot/Makefile @@ -7,7 +7,7 @@ PKG_NAME:=luci-app-advanced-reboot PKG_LICENSE:=AGPL-3.0-or-later PKG_MAINTAINER:=Stan Grishin 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 index 000000000000..2f4807a4d00e --- /dev/null +++ b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-mx5300.json @@ -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 +}