mirror of
https://github.com/kenzok8/small-package
synced 2025-01-08 11:17:34 +08:00
update 2023-06-09 16:22:16
This commit is contained in:
parent
2277d28216
commit
2f0edadbe7
@ -6,13 +6,13 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=adguardhome
|
||||
PKG_VERSION:=0.107.30
|
||||
PKG_VERSION:=0.107.31
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE_PROTO:=git
|
||||
PKG_SOURCE_VERSION:=v$(PKG_VERSION)
|
||||
PKG_SOURCE_URL:=https://github.com/AdguardTeam/AdGuardHome
|
||||
PKG_MIRROR_HASH:=a05c3c796ff6c2377eb4288105c7821f9ad04d4b47137c6fe69dfb59f3b6a0b9
|
||||
PKG_MIRROR_HASH:=38e2ad4ffd8b91bcc6ce9d8fcfcf4d9b9b7667fe9c4f535980eb3c8a8076c903
|
||||
|
||||
PKG_LICENSE:=GPL-3.0-only
|
||||
PKG_LICENSE_FILES:=LICENSE.txt
|
||||
|
@ -170,4 +170,10 @@ serverchan_to_wechatpush_get \
|
||||
|
||||
uci commit wechatpush
|
||||
rm -rf "$serverchan_config" 2>/dev/null
|
||||
dir="/tmp/wechatpush/" && mkdir -p ${dir}
|
||||
echo "" > ${dir}web_login
|
||||
echo "" > ${dir}ssh_login
|
||||
echo "" > ${dir}web_failed
|
||||
echo "" > ${dir}ssh_failed
|
||||
|
||||
nohup sh -c 'while [ -f /var/lock/opkg.lock ]; do sleep 1; done; opkg remove luci-app-serverchan; rm -rf /tmp/luci-*' >/dev/null 2>&1 &
|
||||
|
@ -1462,10 +1462,10 @@ function send(){
|
||||
# 初始化
|
||||
if [ "$1" ] ;then
|
||||
[ $1 == "soc" ] && get_config "soc_code" "server_host" "server_port"
|
||||
[ $1 == "soc" ] && soc_temp && return $?
|
||||
[ $1 == "soc" ] && soc_temp && exit $?
|
||||
read_config
|
||||
[ $1 == "send" ] && send && return $?
|
||||
[ $1 == "test" ] && send test && return $?
|
||||
[ $1 == "send" ] && send && exit $?
|
||||
[ $1 == "test" ] && send test && exit $?
|
||||
[ $1 == "t1" ] && thread_num=1 || exit
|
||||
else
|
||||
read_config
|
||||
|
Loading…
Reference in New Issue
Block a user