ajout de cableur et cableuse dans le autologout

darcs-hash:20050831150905-cc39d-1c678f0a41a61e00479a0edeacf52dc42e495f39.gz
This commit is contained in:
clavel 2005-08-31 17:09:05 +02:00
parent 6506a16d2b
commit ef6ad1cfca

View file

@ -9,7 +9,8 @@ for w in commands.getoutput("w -h").split('\n') :
w = sre.split(' *', w)
# on verifie que c'est une connection du bde
if w[2] != 'bde.crans.org' :
hosts = ['bde.crans.org','cableur.crans.org','cableuse.crans.org']
if w[2] not in [ h[0:16] for h in hosts ] :
continue
# on verifie qu'on a depase le timeout