From 667afc814eb77d6983567dc7ba39e4c7e7f6b2c2 Mon Sep 17 00:00:00 2001 From: bolvan Date: Sat, 21 Jul 2018 09:26:03 +0300 Subject: [PATCH] more chmod fixes --- binaries/armhf/tpws | Bin binaries/mips32r1-lsb/tpws | Bin binaries/mips32r1-msb/tpws | Bin binaries/x86_64/tpws | Bin ipset/def.sh | 2 ++ 5 files changed, 2 insertions(+) mode change 100644 => 100755 binaries/armhf/tpws mode change 100644 => 100755 binaries/mips32r1-lsb/tpws mode change 100644 => 100755 binaries/mips32r1-msb/tpws mode change 100644 => 100755 binaries/x86_64/tpws diff --git a/binaries/armhf/tpws b/binaries/armhf/tpws old mode 100644 new mode 100755 diff --git a/binaries/mips32r1-lsb/tpws b/binaries/mips32r1-lsb/tpws old mode 100644 new mode 100755 diff --git a/binaries/mips32r1-msb/tpws b/binaries/mips32r1-msb/tpws old mode 100644 new mode 100755 diff --git a/binaries/x86_64/tpws b/binaries/x86_64/tpws old mode 100644 new mode 100755 diff --git a/ipset/def.sh b/ipset/def.sh index 0ff5fae..7b435a7 100755 --- a/ipset/def.sh +++ b/ipset/def.sh @@ -4,12 +4,14 @@ ZIPLIST=$EXEDIR/zapret-ip.txt ZIPLIST_EXCLUDE=$EXEDIR/zapret-ip-exclude.txt ZIPLIST_USER=$EXEDIR/zapret-ip-user.txt ZUSERLIST=$EXEDIR/zapret-hosts-user.txt +ZHOSTLIST=$EXEDIR/zapret-hosts.txt ZIPSET_IPBAN=ipban ZIPLIST_IPBAN=$EXEDIR/zapret-ip-ipban.txt ZIPLIST_USER_IPBAN=$EXEDIR/zapret-ip-user-ipban.txt ZUSERLIST_IPBAN=$EXEDIR/zapret-hosts-user-ipban.txt + getuser() { [ -f $ZUSERLIST ] && {