diff --git a/Python/etc/default/mumudvb b/Python/etc/default/mumudvb index 21173fc..5a4940f 100644 --- a/Python/etc/default/mumudvb +++ b/Python/etc/default/mumudvb @@ -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=[] diff --git a/Python/etc/fstab b/Python/etc/fstab index 0db252f..9a62a41 100644 --- a/Python/etc/fstab +++ b/Python/etc/fstab @@ -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 diff --git a/Python/etc/monit/services b/Python/etc/monit/services index f08b752..85fe1e7 100644 --- a/Python/etc/monit/services +++ b/Python/etc/monit/services @@ -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() diff --git a/Python/etc/network/interfaces b/Python/etc/network/interfaces index f5b8191..9536756 100644 --- a/Python/etc/network/interfaces +++ b/Python/etc/network/interfaces @@ -92,4 +92,4 @@ iface lo inet loopback """ -exec metadata.probes["interfaces_local"] +exec metadata.Probes["interfaces_local"]