ajout de cableur et cableuse dans le autologout
darcs-hash:20050831150905-cc39d-1c678f0a41a61e00479a0edeacf52dc42e495f39.gz
This commit is contained in:
parent
6506a16d2b
commit
ef6ad1cfca
1 changed files with 2 additions and 1 deletions
|
@ -9,7 +9,8 @@ for w in commands.getoutput("w -h").split('\n') :
|
||||||
w = sre.split(' *', w)
|
w = sre.split(' *', w)
|
||||||
|
|
||||||
# on verifie que c'est une connection du bde
|
# 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
|
continue
|
||||||
|
|
||||||
# on verifie qu'on a depase le timeout
|
# on verifie qu'on a depase le timeout
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue