update 2023-02-11 09:28:03

This commit is contained in:
github-actions[bot] 2023-02-11 09:28:03 +08:00
parent f7eb5c67a9
commit 89d954547e
3 changed files with 8 additions and 5 deletions

View File

@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=luci-app-passwall
PKG_VERSION:=4.58
PKG_RELEASE:=2
PKG_RELEASE:=3
PKG_CONFIG_DEPENDS:= \
CONFIG_PACKAGE_$(PKG_NAME)_Iptables_Transparent_Proxy \

View File

@ -1,6 +1,9 @@
#!/bin/sh
[[ "$ACTION" == "ifup" && $(uci get "passwall.@global[0].enabled") == "1" ]] && {
/etc/init.d/passwall restart
echo "passwall: restart when $INTERFACE ifup" > /dev/kmsg
default_device=$(ip route | grep default | awk -F 'dev ' '{print $2}' | awk '{print $1}')
[ "$default_device" == "$DEVICE" ] && {
/etc/init.d/passwall restart
echo "passwall: restart when $INTERFACE ifup" > /dev/kmsg
}
}

View File

@ -21,13 +21,13 @@ define Download/geoip
HASH:=38e200a655c3e401dde6a438e79d493c3dbdd224e104a5158bef01f78ad4a151
endef
GEOSITE_VER:=20230210014344
GEOSITE_VER:=20230210153419
GEOSITE_FILE:=dlc.dat.$(GEOSITE_VER)
define Download/geosite
URL:=https://github.com/v2fly/domain-list-community/releases/download/$(GEOSITE_VER)/
URL_FILE:=dlc.dat
FILE:=$(GEOSITE_FILE)
HASH:=4a435a0f6e86cf58ac71853ac349f1fbd3f46307e42b906921cba62fff0e108a
HASH:=2a92cd713c1f275efa0a307b232ae485dee9394f621597fa434503e5a0ed97e2
endef
define Package/v2ray-geodata/template