diff options
author | Thomas Schaefer <tom@tomschaefer.org> | 2011-08-18 22:55:28 -0400 |
---|---|---|
committer | Thomas Schaefer <tom@tomschaefer.org> | 2011-08-18 22:55:28 -0400 |
commit | c5931da98bd4aaba4fb4ef27f10f40c9ef96323a (patch) | |
tree | dca78fc114bef43e7b07d0081af1844c9b23367c /config/ipblocklist/7/convert-execute.sh | |
parent | c1162a3fe2b3197408017ad90ccbd5aad5f62fa5 (diff) | |
download | pfsense-packages-c5931da98bd4aaba4fb4ef27f10f40c9ef96323a.tar.gz pfsense-packages-c5931da98bd4aaba4fb4ef27f10f40c9ef96323a.tar.bz2 pfsense-packages-c5931da98bd4aaba4fb4ef27f10f40c9ef96323a.zip |
Fixed uniq bug
Diffstat (limited to 'config/ipblocklist/7/convert-execute.sh')
-rwxr-xr-x | config/ipblocklist/7/convert-execute.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/ipblocklist/7/convert-execute.sh b/config/ipblocklist/7/convert-execute.sh index 961015e0..75daf448 100755 --- a/config/ipblocklist/7/convert-execute.sh +++ b/config/ipblocklist/7/convert-execute.sh @@ -46,13 +46,13 @@ done #clean up ipfw.ipfw (duplicates) rm /usr/local/www/packages/ipblocklist/lists/ipfw.ipfwTEMP -/usr/bin/sort lists/ipfw.ipfw | uniq -u >> /usr/local/www/packages/ipblocklist/lists/ipfw.ipfwTEMP +/usr/bin/sort lists/ipfw.ipfw | uniq >> /usr/local/www/packages/ipblocklist/lists/ipfw.ipfwTEMP mv /usr/local/www/packages/ipblocklist/lists/ipfw.ipfwTEMP /usr/local/www/packages/ipblocklist/lists/ipfw.ipfw #echo "ipfw clean" #clean up whitelist (duplicates) rm Wlists/whitelistTEMP -/usr/bin/sort Wlists/whitelist | uniq -u >> Wlists/whitelistTEMP +/usr/bin/sort Wlists/whitelist | uniq >> Wlists/whitelistTEMP mv Wlists/whitelistTEMP Wlists/whitelist #echo "whitelist clean" |