From ae451bea035df052d72fe54c8303c05ba1d2cbb1 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 9 Mar 2024 09:07:02 +0800 Subject: [PATCH] update 2024-03-09 09:07:02 --- luci-app-amlogic/Makefile | 2 +- luci-app-amlogic/root/usr/sbin/openwrt-kernel | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/luci-app-amlogic/Makefile b/luci-app-amlogic/Makefile index cbc2adbae..e35a3a93b 100644 --- a/luci-app-amlogic/Makefile +++ b/luci-app-amlogic/Makefile @@ -16,7 +16,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=luci-app-amlogic -PKG_VERSION:=3.1.223 +PKG_VERSION:=3.1.224 PKG_RELEASE:=1 PKG_LICENSE:=GPL-2.0 License diff --git a/luci-app-amlogic/root/usr/sbin/openwrt-kernel b/luci-app-amlogic/root/usr/sbin/openwrt-kernel index 3f12ea20e..d205c1611 100755 --- a/luci-app-amlogic/root/usr/sbin/openwrt-kernel +++ b/luci-app-amlogic/root/usr/sbin/openwrt-kernel @@ -425,6 +425,11 @@ sos_kernel() { cp -rf /boot/{*-${kernel_signature},uInitrd,*Image,dtb} . [[ "${?}" -ne "0" ]] && error_msg "(1/2) [ boot ] kernel files rescue failed." echo -e "(1/2) [ boot ] kernel files rescue succeeded." + + [[ -f "/boot/emmc_autoscript.cmd" ]] && cp -f /boot/emmc_autoscript.cmd . + [[ -f "/boot/emmc_autoscript" ]] && cp -f /boot/emmc_autoscript . + [[ -f "/boot/s905_autoscript.cmd" ]] && cp -f /boot/s905_autoscript.cmd . + [[ -f "/boot/s905_autoscript" ]] && cp -f /boot/s905_autoscript . } || error_msg "(1/2) The [ ${P4_PATH}/bootfs ] folder does not exist, stop rescuing." # 02. For /lib/modules/${kernel_signature}