[whokfet.py] valhalla est passé sous backfire

darcs-hash:20120104130211-3a55a-7c159884e38cf18c76e1f4e4db01c22d5ec235d7.gz
This commit is contained in:
Valentin Samir 2012-01-04 14:02:11 +01:00
parent 50ab65b27f
commit d59999f2a7

View file

@ -16,7 +16,7 @@ from subprocess import Popen, PIPE
def get_wifi_connected_client():
x=Popen(["ssh","-T", "-i" , "/usr/scripts/gestion/clef-wifi-kfet","-l","root" ,"-x", "-o", "BatchMode=yes", "-o",
"ConnectTimeout=5", "-o", "StrictHostKeyChecking=no","valhalla.wifi", "wl assoclist"], stdout=PIPE)
"ConnectTimeout=5", "-o", "StrictHostKeyChecking=no","valhalla.wifi", "/usr/crans/list_clients.sh"], stdout=PIPE)
clients=x.communicate()[0].split("\n")
macs=[]
for client in clients: