On 08/14/2012 11:44 AM, Emiliano Vazquez wrote:
>> filetolist() {
>> local list=$(cat $1)
>> echo $list | sed 's/ /,/g
>> }
>>
>> IPPROXY=$(filetolist /home/shorewall/ip_list.proxy)
>> --
>
> Hi Tom. can you tell me where i can put this "filetolist" command?
>
> I try it in params but "shorewall check" don't pass the test.
>
> sorry if this is a simple question. I did not find documentation about this.
Put in in /etc/shorewall/params. Apparently, there was a character
missing in my email:
filetolist() {
local list=$(cat $1)
echo $list | sed 's/ /,/g'
}
-Tom
--
Tom Eastep \ When I die, I want to go like my Grandfather who
Shoreline, \ died peacefully in his sleep. Not screaming like
Washington, USA \ all of the passengers in his car
http://shorewall.net \________________________________________________
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users