[wifi/status] fping a changé de path

darcs-hash:20120207222150-28565-f3ab027bec12f68b850f2698ac06be7e851577eb.gz
This commit is contained in:
Daniel STAN 2012-02-07 23:21:50 +01:00
parent 4356da97cd
commit 1cdc041bcc

View file

@ -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