summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStan Grishin <stangri@melmac.ca>2024-03-23 01:14:22 +0000
committerStan Grishin <stangri@melmac.ca>2024-03-23 01:14:22 +0000
commit120710420a7f653e1cf695b52e667783d5cc5dc8 (patch)
tree877fc6cc0958d140214f320c101c4d84e5632a73
parentcfd388340d9708b9b369f09c4ecf1b2382bf51b7 (diff)
luci-app-advanced-reboot: prepare migration to APK
Signed-off-by: Stan Grishin <stangri@melmac.ca>
-rw-r--r--applications/luci-app-advanced-reboot/Makefile2
-rw-r--r--applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/dlink-fgs1210-28.json14
-rw-r--r--applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-ea8100v1.json14
3 files changed, 29 insertions, 1 deletions
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 <stangri@melmac.net>
-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
+}