diff --git a/applications/luci-app-advanced-reboot/Makefile b/applications/luci-app-advanced-reboot/Makefile index 424a226abe34..1ce8c4d3bc96 100644 --- a/applications/luci-app-advanced-reboot/Makefile +++ b/applications/luci-app-advanced-reboot/Makefile @@ -1,20 +1,30 @@ -# Copyright 2017-2018 Stan Grishin (stangri@melmac.net) -# This is free software, licensed under the GNU General Public License v3. +# Copyright 2017-2024 MOSSDeF, Stan Grishin (stangri@melmac.ca). +# This is free software, licensed under AGPL-3.0-or-later. include $(TOPDIR)/rules.mk -PKG_LICENSE:=GPL-3.0-or-later -PKG_MAINTAINER:=Stan Grishin -PKG_VERSION:=1.0.1-r10 +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 LUCI_TITLE:=Advanced Linksys Reboot Web UI -LUCI_URL:=https://docs.openwrt.melmac.net/luci-app-advanced-reboot/ +LUCI_URL:=https://github.com/stangri/luci-app-advanced-reboot/ LUCI_DESCRIPTION:=Provides Web UI (found under System/Advanced Reboot) to reboot supported Linksys and ZyXEL routers to\ an alternative partition. Also provides Web UI to shut down (power off) your device. Supported dual-partition\ routers are listed at https://docs.openwrt.melmac.net/luci-app-advanced-reboot/ LUCI_DEPENDS:=+luci-mod-admin-full +jshn LUCI_PKGARCH:=all +define Package/$(PKG_NAME)/config +# shown in make menuconfig +help + $(LUCI_TITLE) + . + Version: $(PKG_VERSION)-$(PKG_RELEASE) +endef + include ../../luci.mk # call BuildPackage - OpenWrt buildroot signature diff --git a/applications/luci-app-advanced-reboot/README.md b/applications/luci-app-advanced-reboot/README.md index a0fd20c9ef23..11df6a73805c 100644 --- a/applications/luci-app-advanced-reboot/README.md +++ b/applications/luci-app-advanced-reboot/README.md @@ -1,3 +1,3 @@ -# Advanced Reboot Web UI (luci-app-advanced-reboot) +# README -README has been moved to [https://docs.openwrt.melmac.net/luci-app-advanced-reboot/](). +Documentation for this project is available at [https://docs.openwrt.melmac.net/luci-app-advanced-reboot/](https://docs.openwrt.melmac.net/luci-app-advanced-reboot/). diff --git a/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-ea6350v4.json b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-ea6350v4.json new file mode 100644 index 000000000000..104229861af0 --- /dev/null +++ b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-ea6350v4.json @@ -0,0 +1,14 @@ +{ + "vendorName": "Linksys", + "deviceName": "EA6350v4", + "boardNames": [ "linksys,ea6350-v4" ], + "partition1MTD": "mtd5", + "partition2MTD": "mtd7", + "labelOffset": 32, + "bootEnv1": "boot_part", + "bootEnv1Partition1Value": 1, + "bootEnv1Partition2Value": 2, + "bootEnv2": null, + "bootEnv2Partition1Value": null, + "bootEnv2Partition2Value": null +} diff --git a/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-mx4200v1.json b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-mx4200v1.json new file mode 100644 index 000000000000..01213849aa67 --- /dev/null +++ b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-mx4200v1.json @@ -0,0 +1,14 @@ +{ + "vendorName": "Linksys", + "deviceName": "MX4200v1", + "boardNames": [ "linksys,mx4200v1" ], + "partition1MTD": "mtd21", + "partition2MTD": "mtd23", + "labelOffset": 192, + "bootEnv1": "boot_part", + "bootEnv1Partition1Value": 1, + "bootEnv1Partition2Value": 2, + "bootEnv2": null, + "bootEnv2Partition1Value": null, + "bootEnv2Partition2Value": null +} diff --git a/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-mx4200v2.json b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-mx4200v2.json new file mode 100644 index 000000000000..44e8d3c80dae --- /dev/null +++ b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-mx4200v2.json @@ -0,0 +1,14 @@ +{ + "vendorName": "Linksys", + "deviceName": "MX4200v2", + "boardNames": [ "linksys,mx4200v2" ], + "partition1MTD": "mtd21", + "partition2MTD": "mtd23", + "labelOffset": 192, + "bootEnv1": "boot_part", + "bootEnv1Partition1Value": 1, + "bootEnv1Partition2Value": 2, + "bootEnv2": null, + "bootEnv2Partition1Value": null, + "bootEnv2Partition2Value": null +} diff --git a/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-mx4300.json b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-mx4300.json new file mode 100644 index 000000000000..8692c6d2b28b --- /dev/null +++ b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-mx4300.json @@ -0,0 +1,14 @@ +{ + "vendorName": "Linksys", + "deviceName": "MX4300", + "boardNames": [ "linksys,mx4300" ], + "partition1MTD": "mtd21", + "partition2MTD": "mtd23", + "labelOffset": 192, + "bootEnv1": "boot_part", + "bootEnv1Partition1Value": 1, + "bootEnv1Partition2Value": 2, + "bootEnv2": null, + "bootEnv2Partition1Value": null, + "bootEnv2Partition2Value": null +} diff --git a/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-whw03.json b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-whw03.json new file mode 100644 index 000000000000..76eb0bd4c482 --- /dev/null +++ b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-whw03.json @@ -0,0 +1,14 @@ +{ + "vendorName": "Linksys", + "deviceName": "WHW03 (Velop)", + "boardNames": [ "linksys,whw03" ], + "partition1MTD": "mmcblk0p14", + "partition2MTD": "mmcblk0p16", + "labelOffset": 192, + "bootEnv1": "boot_part", + "bootEnv1Partition1Value": 1, + "bootEnv1Partition2Value": 2, + "bootEnv2": null, + "bootEnv2Partition1Value": null, + "bootEnv2Partition2Value": null +}