update 2022-07-10 20:17:25

This commit is contained in:
github-actions[bot] 2022-07-10 20:17:25 +08:00
parent fd85df7811
commit 002182caf5
4 changed files with 9 additions and 5 deletions

View File

@ -1,7 +1,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=aliyundrive-webdav
PKG_VERSION:=1.7.1
PKG_VERSION:=1.7.2
PKG_RELEASE:=$(AUTORELEASE)
PKG_LICENSE:=MIT

View File

@ -1,7 +1,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=luci-app-aliyundrive-webdav
PKG_VERSION:=1.7.1
PKG_VERSION:=1.7.2
PKG_RELEASE:=1
PKG_PO_VERSION:=$(PKG_VERSION)-$(PKG_RELEASE)

View File

@ -115,6 +115,10 @@ function to_check()
model = "ramips_mt7621/lenovo_newifi-d1"
check_update()
download_url = "https://op.supes.top/firmware/" ..model.. "/" ..remote_version.. "-openwrt-ramips-mt7621-lenovo_newifi-d1-squashfs-sysupgrade.bin"
elseif board_name:match("re%-sp%-01b") then
model = "ramips_mt7621/jdcloud_re-sp-01b"
check_update()
download_url = "https://op.supes.top/firmware/" ..model.. "/" ..remote_version.. "-openwrt-ramips-mt7621-jdcloud_re-sp-01b-squashfs-sysupgrade.bin"
elseif board_name:match("mi%-router%-cr660x") then
model = "ramips_mt7621/xiaomi_mi-router-cr660x"
check_update()
@ -227,11 +231,11 @@ function to_check()
model = "ramips_mt7621/xiaomi_mi-router-3g-v2"
check_update()
download_url = "https://op.supes.top/firmware/" ..model.. "/" ..remote_version.. "-openwrt-ramips-mt7621-xiaomi_mi-router-3g-v2-squashfs-sysupgrade.bin"
elseif board_name:match(jcg,y2") then
elseif board_name:match("jcg,y2") then
model = "ramips_mt7621/jcg_y2"
check_update()
download_url = "https://op.supes.top/firmware/" ..model.. "/" ..remote_version.. "-openwrt-ramips-mt7621-jcg_y2-squashfs-sysupgrade.bin"
elseif board_name:match(jcg,q20") then
elseif board_name:match("jcg,q20") then
model = "ramips_mt7621/jcg_q20"
check_update()
download_url = "https://op.supes.top/firmware/" ..model.. "/" ..remote_version.. "-openwrt-ramips-mt7621-jcg_q20-squashfs-sysupgrade.bin"

View File

@ -94,7 +94,7 @@ test $version -lt 1 && {
uci -q set wireless.${radio}.htmode="VHT80" #AC
uci -q set wireless.${radio}.channel="157"
fi
[[ "$(board_name)" == *cr660x ]] && {
[[ "$(board_name)" == *cr660x || "$(board_name)" == *ax9000 || "$(board_name)" == *ax3600 ]] && {
uci -q set wireless.${radio}.htmode="HE80"
uci -q set wireless.${radio}.channel='157'
}