BF: replace with ed so its cross platform, fixes permission problem gh-266, and Yaroslav doesn't revert to perl

pull/278/merge^2
Daniel Black 2013-07-02 20:09:27 +10:00
parent 54cce29b3e
commit aebd24ec54
2 changed files with 3 additions and 1 deletions

View File

@ -15,6 +15,8 @@ ver. 0.8.11 (2013/XX/XXX) - wanna-be-released
* filter.d/common.conf -- make colon after [daemon] optional. Closes gh-267
* filter.d/apache-common.conf -- support apache 2.4 more detailed error
log format. Closes gh-268
Daniel Black
* action.d/hostsdeny -- ensure permissions are fixed - gh-266
- New Features:
Daniel Black & ykimon
* filter.d/3proxy.conf -- filter added

View File

@ -39,7 +39,7 @@ actionban = IP=<ip> &&
# Tags: See jail.conf(5) man page
# Values: CMD
#
actionunban = IP=<ip> && sed /ALL:\ $IP/d <file> > <file>.new && mv <file>.new <file>
actionunban = echo "/ALL: <ip>$/<br>d<br>w<br>q" | ed <file>
[Init]