diff --git a/config/action.d/hostsdeny.conf b/config/action.d/hostsdeny.conf index db36aa29..6f324e1e 100644 --- a/config/action.d/hostsdeny.conf +++ b/config/action.d/hostsdeny.conf @@ -40,11 +40,7 @@ actionban = IP= && # Tags: See jail.conf(5) man page # Values: CMD # -# Original: -#actionunban = IP= && sed -i.old /ALL:\ $IP/d - -# -i is not supported under Solaris 10/OpenSolaris -actionunban = IP= && perl -ne "print unless (/^ALL:\s$IP/)" -i +actionunban = IP= && sed /ALL:\ $IP/d > .new && mv .new [Init]