smeserver-clamrt/root/etc/e-smith/templates/etc/clamrt.list/10shares

11 lines
219 B
Plaintext
Raw Normal View History

2012-07-02 22:20:31 +02:00
{
foreach my $share (@shares){
my $name = $share->key;
my $av = $share->prop('ClamRT') || 'disabled';
next unless ($av eq 'enabled');
$OUT .= "/home/e-smith/files/shares/$name/files\n";
}
2012-07-02 22:44:07 +02:00
$OUT .= '';
2012-07-02 22:20:31 +02:00
}