mirror of
https://github.com/tty228/luci-app-serverchan
synced 2025-01-08 12:07:39 +08:00
v3.5.5
1. 避免程序非正常中断时进程残留 2. 在线列表和日志页面样式更改,以适合不同主题 3. debug
This commit is contained in:
parent
5b3b88d8ea
commit
86da29ba4d
2
Makefile
2
Makefile
@ -1,7 +1,7 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=luci-app-wechatpush
|
||||
PKG_VERSION:=3.5.4
|
||||
PKG_VERSION:=3.5.5
|
||||
PKG_RELEASE:=
|
||||
|
||||
PKG_MAINTAINER:=tty228 <tty228@yeah.net>
|
||||
|
@ -1396,7 +1396,7 @@ up() {
|
||||
else
|
||||
# 剔除(重置)流量数据
|
||||
usage down ${ip}
|
||||
# 删除当前 IP 对应的键值,重新写入,否则要启用 unique_by(.ip) 去重
|
||||
# 删除当前 IP 对应的键值,重新写入,否则要启用 unique_by(.ip) 去重
|
||||
jq --arg ip "$ip" 'del(.devices[] | select(.ip == $ip))' "$devices_json" >"$tmp_devices_json" && mv "$tmp_devices_json" "$devices_json"
|
||||
local name=$(getname "$ip" "$mac")
|
||||
local interface=$(getinterface "ip" "$mac")
|
||||
|
Loading…
Reference in New Issue
Block a user