commit aebd24ec5485dacc5146728fa22387340b51099e Author: Daniel Black Date: Tue Jul 2 20:09:27 2013 +1000 BF: replace with ed so its cross platform, fixes permission problem gh-266, and Yaroslav doesn't revert to perl diff --git a/config/action.d/hostsdeny.conf b/config/action.d/hostsdeny.conf index 50a4545..36e3494 100644 --- a/config/action.d/hostsdeny.conf +++ b/config/action.d/hostsdeny.conf @@ -39,7 +39,7 @@ actionban = IP= && # Tags: See jail.conf(5) man page # Values: CMD # -actionunban = IP= && sed /ALL:\ $IP/d > .new && mv .new +actionunban = echo "/ALL: $/
d
w
q" | ed [Init]