From 1cdc041bcc27bee6f28109daebb75cc0f2558fd6 Mon Sep 17 00:00:00 2001 From: Daniel STAN Date: Tue, 7 Feb 2012 23:21:50 +0100 Subject: [PATCH] =?UTF-8?q?[wifi/status]=20fping=20a=20chang=C3=A9=20de=20?= =?UTF-8?q?path?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit darcs-hash:20120207222150-28565-f3ab027bec12f68b850f2698ac06be7e851577eb.gz --- wifi/status.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wifi/status.py b/wifi/status.py index 97d1472e..bd670870 100644 --- a/wifi/status.py +++ b/wifi/status.py @@ -44,7 +44,7 @@ for b in bornes: # Est-ce un hotspot ? hotspot = b.hotspot() and 1 or 0 # 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 else: up = 0