diff options
author | BBcan177 <bbcan177@gmail.com> | 2016-03-20 22:18:28 -0400 |
---|---|---|
committer | BBcan177 <bbcan177@gmail.com> | 2016-03-20 22:18:28 -0400 |
commit | c797fe60e4758f61780ee77b4b5d2a73b1b7bca3 (patch) | |
tree | 6fccb4bcbe86a7769a389c08b233a27050903442 /config | |
parent | 4230277cb8480d00b2664f0e333816f3ac5e32cd (diff) | |
download | pfsense-packages-c797fe60e4758f61780ee77b4b5d2a73b1b7bca3.tar.gz pfsense-packages-c797fe60e4758f61780ee77b4b5d2a73b1b7bca3.tar.bz2 pfsense-packages-c797fe60e4758f61780ee77b4b5d2a73b1b7bca3.zip |
Update pfblockerng.sh
* Improve Proofpoint/Emerging Threats IQRisk integrations
Diffstat (limited to 'config')
-rw-r--r-- | config/pfblockerng/pfblockerng.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/config/pfblockerng/pfblockerng.sh b/config/pfblockerng/pfblockerng.sh index ace6dbfe..9d2ccf02 100644 --- a/config/pfblockerng/pfblockerng.sh +++ b/config/pfblockerng/pfblockerng.sh @@ -779,7 +779,7 @@ processet() { *) echo "${i}" >> "${etdir}/ET_Unknown.txt";; esac done < "${pfborig}${alias}.orig" - data="$(ls ${etdir})" + data="$(ls ${etdir} | sed 's/\.txt//')" printf "%-10s %-25s\n" ' Action' 'Category' echo '-------------------------------------------' @@ -787,13 +787,13 @@ processet() { case "${etblock}" in *$list*) printf "%-10s %-25s\n" ' Block: ' "${list}" - cat "${etdir}/${list}" >> "${tempfile}" + cat "${etdir}/${list}.txt" >> "${tempfile}" ;; esac case "${etmatch}" in *$list*) printf "%-10s %-25s\n" ' Match: ' "${list}" - cat "${etdir}/${list}" >> "${tempfile2}" + cat "${etdir}/${list}.txt" >> "${tempfile2}" ;; esac done @@ -978,4 +978,4 @@ case "${1}" in *) ;; esac -exitnow
\ No newline at end of file +exitnow |