diff --git a/root/etc/e-smith/templates/etc/clamrt.list/00setup b/root/etc/e-smith/templates/etc/clamrt.list/00setup index affb737..4ed13de 100644 --- a/root/etc/e-smith/templates/etc/clamrt.list/00setup +++ b/root/etc/e-smith/templates/etc/clamrt.list/00setup @@ -6,4 +6,6 @@ my $a = esmith::AccountsDB->open_ro || die "Couldn't open AccountsDB\n"; my @ibays = $a->ibays(); my @shares = $a->get_all_by_prop(type=>'share'); +$OUT .= ''; + } diff --git a/root/etc/e-smith/templates/etc/clamrt.list/10shares b/root/etc/e-smith/templates/etc/clamrt.list/10shares index 5da45c8..b79775a 100644 --- a/root/etc/e-smith/templates/etc/clamrt.list/10shares +++ b/root/etc/e-smith/templates/etc/clamrt.list/10shares @@ -6,5 +6,5 @@ foreach my $share (@shares){ next unless ($av eq 'enabled'); $OUT .= "/home/e-smith/files/shares/$name/files\n"; } - +$OUT .= ''; } diff --git a/root/etc/e-smith/templates/etc/clamrt.list/20ibays b/root/etc/e-smith/templates/etc/clamrt.list/20ibays index 4d56142..ac47154 100644 --- a/root/etc/e-smith/templates/etc/clamrt.list/20ibays +++ b/root/etc/e-smith/templates/etc/clamrt.list/20ibays @@ -6,5 +6,5 @@ foreach my $ibay (@ibays){ next unless ($av eq 'enabled'); $OUT .= "/home/e-smith/files/ibays/$name\n"; } - +$OUT .= ''; } diff --git a/root/etc/e-smith/templates/etc/clamrt.list/template-begin b/root/etc/e-smith/templates/etc/clamrt.list/template-begin new file mode 100644 index 0000000..e69de29