diff options
Diffstat (limited to 'etc/ncp-config.d/fail2ban.sh')
-rw-r--r-- | etc/ncp-config.d/fail2ban.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/ncp-config.d/fail2ban.sh b/etc/ncp-config.d/fail2ban.sh index d7667a12..fe7c16ce 100644 --- a/etc/ncp-config.d/fail2ban.sh +++ b/etc/ncp-config.d/fail2ban.sh @@ -57,7 +57,7 @@ EOF # tweak fail2ban email local F=/etc/fail2ban/action.d/sendmail-common.conf - sed -i 's|Fail2Ban|NextCloudPlus|' /etc/fail2ban/action.d/sendmail-whois-lines.conf + sed -i 's|Fail2Ban|NextCloudPi|' /etc/fail2ban/action.d/sendmail-whois-lines.conf grep -q actionstart_ "$F" || sed -i 's|actionstart|actionstart_|' "$F" grep -q actionstop_ "$F" || sed -i 's|actionstop|actionstop_|' "$F" |