Fix templates clamrt.list

master
Daniel Berteaud 13 years ago
parent 42a8ead6ea
commit 9f61b64bb9
  1. 2
      root/etc/e-smith/templates/etc/clamrt.list/00setup
  2. 2
      root/etc/e-smith/templates/etc/clamrt.list/10shares
  3. 2
      root/etc/e-smith/templates/etc/clamrt.list/20ibays
  4. 0
      root/etc/e-smith/templates/etc/clamrt.list/template-begin

@ -6,4 +6,6 @@ my $a = esmith::AccountsDB->open_ro || die "Couldn't open AccountsDB\n";
my @ibays = $a->ibays(); my @ibays = $a->ibays();
my @shares = $a->get_all_by_prop(type=>'share'); my @shares = $a->get_all_by_prop(type=>'share');
$OUT .= '';
} }

@ -6,5 +6,5 @@ foreach my $share (@shares){
next unless ($av eq 'enabled'); next unless ($av eq 'enabled');
$OUT .= "/home/e-smith/files/shares/$name/files\n"; $OUT .= "/home/e-smith/files/shares/$name/files\n";
} }
$OUT .= '';
} }

@ -6,5 +6,5 @@ foreach my $ibay (@ibays){
next unless ($av eq 'enabled'); next unless ($av eq 'enabled');
$OUT .= "/home/e-smith/files/ibays/$name\n"; $OUT .= "/home/e-smith/files/ibays/$name\n";
} }
$OUT .= '';
} }

Loading…
Cancel
Save