From 120710420a7f653e1cf695b52e667783d5cc5dc8 Mon Sep 17 00:00:00 2001 From: Stan Grishin Date: Sat, 23 Mar 2024 01:14:22 +0000 Subject: [PATCH] luci-app-advanced-reboot: prepare migration to APK Signed-off-by: Stan Grishin --- applications/luci-app-advanced-reboot/Makefile | 2 +- .../advanced-reboot/devices/dlink-fgs1210-28.json | 14 ++++++++++++++ .../advanced-reboot/devices/linksys-ea8100v1.json | 14 ++++++++++++++ 3 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/dlink-fgs1210-28.json create mode 100644 applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-ea8100v1.json diff --git a/applications/luci-app-advanced-reboot/Makefile b/applications/luci-app-advanced-reboot/Makefile index 11697f3b0d..172cb9c96c 100644 --- a/applications/luci-app-advanced-reboot/Makefile +++ b/applications/luci-app-advanced-reboot/Makefile @@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk PKG_LICENSE:=GPL-3.0-or-later PKG_MAINTAINER:=Stan Grishin -PKG_VERSION:=1.0.1-9 +PKG_VERSION:=1.0.1-r10 LUCI_TITLE:=Advanced Linksys Reboot Web UI LUCI_URL:=https://docs.openwrt.melmac.net/luci-app-advanced-reboot/ diff --git a/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/dlink-fgs1210-28.json b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/dlink-fgs1210-28.json new file mode 100644 index 0000000000..d5e468215a --- /dev/null +++ b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/dlink-fgs1210-28.json @@ -0,0 +1,14 @@ +{ + "vendorName": "D-Link", + "deviceName": "DGS-1210-28", + "boardNames": [ "d-link,dgs-1210-28" ], + "partition1MTD": "mtd5", + "partition2MTD": "mtd9", + "labelOffset": null, + "bootEnv1": "bootcmd", + "bootEnv1Partition1Value": null, + "bootEnv1Partition2Value": "run addargs\\; bootm 0xb4e80000", + "bootEnv2": "image", + "bootEnv2Partition1Value": null, + "bootEnv2Partition2Value": "/dev/mtdblock7" +} diff --git a/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-ea8100v1.json b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-ea8100v1.json new file mode 100644 index 0000000000..e50941921d --- /dev/null +++ b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-ea8100v1.json @@ -0,0 +1,14 @@ +{ + "vendorName": "Linksys", + "deviceName": "EA8100v1", + "boardNames": [ "linksys,ea8100-v1" ], + "partition1MTD": "mtd5", + "partition2MTD": "mtd7", + "labelOffset": 32, + "bootEnv1": "boot_part", + "bootEnv1Partition1Value": 1, + "bootEnv1Partition2Value": 2, + "bootEnv2": null, + "bootEnv2Partition1Value": null, + "bootEnv2Partition2Value": null +} -- 2.30.2