luci-app-passwall: sync with upstream source
This commit is contained in:
parent
273eaaa235
commit
99eaf77217
@ -86,7 +86,7 @@ define Package/$(PKG_NAME)
|
||||
TITLE:=LuCI support for PassWall
|
||||
PKGARCH:=all
|
||||
DEPENDS:=+libmbedtls +iptables-mod-tproxy +ip +ipset +coreutils +coreutils-base64 +coreutils-nohup +luci-lib-jsonc \
|
||||
+wget +resolveip +unzip +dnsmasq-full +tcping \
|
||||
+wget +resolveip +unzip +dnsmasq-full +tcping +libuci-lua \
|
||||
+PACKAGE_$(PKG_NAME)_INCLUDE_ipt2socks:ipt2socks \
|
||||
+PACKAGE_$(PKG_NAME)_INCLUDE_Shadowsocks:shadowsocks-libev-ss-redir \
|
||||
+PACKAGE_$(PKG_NAME)_INCLUDE_ShadowsocksR:shadowsocksr-libev-alt \
|
||||
|
||||
@ -101,7 +101,7 @@ gen_laniplist() {
|
||||
|
||||
load_acl() {
|
||||
local count=$(uci show $CONFIG | grep "@acl_rule" | sed -n '$p' | cut -d '[' -f 2 | cut -d ']' -f 1)
|
||||
[ -n "$count" -a "$count" -ge 0 ] && {
|
||||
[ -n "$count" ] && [ "$count" -ge 0 ] && {
|
||||
u_get() {
|
||||
local ret=$(uci -q get $CONFIG.@acl_rule[$1].$2)
|
||||
echo ${ret:=$3}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user