.probes --> .Probes
darcs-hash:20090612203201-af139-2291782618af2dd1811f3525d72b25db1afd90fd.gz
This commit is contained in:
parent
ed43dbd39b
commit
87b284571f
4 changed files with 7 additions and 7 deletions
|
@ -23,9 +23,9 @@ header('Fichier de configuration de mumudvb')
|
|||
@#Change this line to reflect your configuration
|
||||
@#Ex : ADAPTERS="0 1 2 4"
|
||||
|
||||
dernierecarte=int(metadata.probes["cartesdvb"])
|
||||
dernierecarte=int(metadata.Probes["cartesdvb"])
|
||||
try:
|
||||
cartesdesactivees=map(lambda x : int(x),metadata.probes["cartesdvbdesactivees_local"].split(' '))
|
||||
cartesdesactivees=map(lambda x : int(x),metadata.Probes["cartesdvbdesactivees_local"].split(' '))
|
||||
except:
|
||||
cartesdesactivees=[]
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ mnt("proc", "/proc", "proc")
|
|||
mnt("shm", "/dev/shm", "tmpfs")
|
||||
|
||||
@# Les définitions locales
|
||||
print metadata.probes["fstab_local"]
|
||||
print metadata.Probes["fstab_local"]
|
||||
|
||||
if has("nfs"):
|
||||
@# Le nfs
|
||||
|
|
|
@ -168,9 +168,9 @@ service("vsftpd",
|
|||
service("vsftpd-federez",
|
||||
extra=["if failed host 138.231.136.129 port 21 protocol ftp timeout 30 seconds then restart"])
|
||||
|
||||
dernierecarte=int(metadata.probes["cartesdvb"])
|
||||
dernierecarte=int(metadata.Probes["cartesdvb"])
|
||||
try:
|
||||
cartesdesactivees=map(lambda x : int(x),metadata.probes["cartesdvbdesactivees_local"].split(' '))
|
||||
cartesdesactivees=map(lambda x : int(x),metadata.Probes["cartesdvbdesactivees_local"].split(' '))
|
||||
except:
|
||||
cartesdesactivees=[]
|
||||
|
||||
|
@ -191,7 +191,7 @@ for i in range(0,dernierecarte):
|
|||
if hostname in ['canard'] :
|
||||
done()
|
||||
|
||||
for line in metadata.probes["fstab_local"].splitlines():
|
||||
for line in metadata.Probes["fstab_local"].splitlines():
|
||||
# on supprime les espaces
|
||||
line = line.strip()
|
||||
|
||||
|
|
|
@ -92,4 +92,4 @@ iface lo inet loopback
|
|||
"""
|
||||
|
||||
|
||||
exec metadata.probes["interfaces_local"]
|
||||
exec metadata.Probes["interfaces_local"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue