[wifi/status] fping a changé de path
darcs-hash:20120207222150-28565-f3ab027bec12f68b850f2698ac06be7e851577eb.gz
This commit is contained in:
parent
4356da97cd
commit
1cdc041bcc
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ for b in bornes:
|
||||||
# Est-ce un hotspot ?
|
# Est-ce un hotspot ?
|
||||||
hotspot = b.hotspot() and 1 or 0
|
hotspot = b.hotspot() and 1 or 0
|
||||||
# Est-ce que la borne est up ?
|
# Est-ce que la borne est up ?
|
||||||
if os.system("/usr/sbin/fping -q %s 2> /dev/null" % b.nom()) == 0:
|
if os.system("/usr/bin/fping -q %s 2> /dev/null" % b.nom()) == 0:
|
||||||
up = 1
|
up = 1
|
||||||
else:
|
else:
|
||||||
up = 0
|
up = 0
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue