Utilisation de la methode hotspot()
darcs-hash:20060311155105-d1718-f1f950e034de3c6477f120c9c95addc572a0919f.gz
This commit is contained in:
parent
2c09eff1af
commit
cf7c0b54bb
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ for b in bornes:
|
|||
continue
|
||||
|
||||
# Est-ce un hotspot ?
|
||||
hotspot = "<nvram>crans_hotspot=1" in b.info() and 1 or 0
|
||||
hotspot = b.hotspot() and 1 or 0
|
||||
# Est-ce que la borne est up ?
|
||||
if os.system("/usr/local/sbin/fping -q %s || /usr/local/sbin/fping -q %s" % ((b.nom(),)*2)) == 0:
|
||||
up = 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue