diff --git a/Scripts/AutoUpdate.sh b/Scripts/AutoUpdate.sh index f83239d..cff0de6 100755 --- a/Scripts/AutoUpdate.sh +++ b/Scripts/AutoUpdate.sh @@ -3,7 +3,7 @@ # AutoBuild Module by Hyy2001 # AutoUpdate for Openwrt -Version=V5.7.1 +Version=V5.7.2 Shell_Helper() { cat < /tmp/Package_list -CURRENT_Version="$(awk 'NR==1' /etc/openwrt_info)" -Github="$(awk 'NR==2' /etc/openwrt_info)" Github_Release="${Github}/releases/download/AutoUpdate" Author="${Github##*com/}" CLOUD_Script="Hyy2001X/AutoBuild-Actions/master/Scripts/AutoUpdate.sh" Github_Tags="https://api.github.com/repos/${Author}/releases/latest" Github_Raw="https://raw.githubusercontent.com" -DEFAULT_Device="$(awk 'NR==3' /etc/openwrt_info)" -Firmware_Type="$(awk 'NR==4' /etc/openwrt_info)" _PROXY_Release="https://download.fastgit.org" TMP_Available="$(df -m | grep "/tmp" | awk '{print $4}' | awk 'NR==1' | awk -F. '{print $1}')" Overlay_Available="$(df -h | grep ":/overlay" | awk '{print $4}' | awk 'NR==1')"