Update to mystic 112a48
This commit is contained in:
@@ -39,7 +39,7 @@ if [ $BAN_UNBAN_ENABLE = "true" ]; then
|
||||
if [ $DO_BAN = "unban" ]; then
|
||||
/usr/bin/fail2ban-client set mysticbbs unbanip ${BAN_IP}
|
||||
if [ $BAN_UNBAN_MYSTIC = "true" ]; then
|
||||
sed -e "/${BAN_IP}/d" -i ${MYSTIC_DIR}/data/blacklist.txt
|
||||
sed -e "/${BAN_IP}/d" -i ${MYSTIC_DIR}/data/denylist.txt
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
@@ -51,7 +51,7 @@ if [ $BAN_UNBAN_ENABLE = "true" ]; then
|
||||
if [ $DO_BAN = "unban" ]; then
|
||||
echo ${BAN_IP} >> /opt/ipban/unban.txt
|
||||
if [ $BAN_UNBAN_MYSTIC = "true" ]; then
|
||||
sed -e "/${BAN_IP}/d" -i ${MYSTIC_DIR}/data/blacklist.txt
|
||||
sed -e "/${BAN_IP}/d" -i ${MYSTIC_DIR}/data/denylist.txt
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user