egon -> vo

darcs-hash:20090426140038-af139-cd4826771b1430c4d3c3df313f1a09a5b6eb7c45.gz
This commit is contained in:
Jeremie Dimino 2009-04-26 16:00:38 +02:00
parent 0b7af6b0b1
commit d91a411300

View file

@ -41,8 +41,8 @@ def liste_2b():
cprint('---=== Autres machines ===---', 'bleu') cprint('---=== Autres machines ===---', 'bleu')
aff(machines) aff(machines)
ttyfound = 1 ttyfound = 1
if gethostname() == 'egon': if gethostname() == 'vo':
cprint('---=== Who sur egon ===---', 'bleu') cprint('---=== Who sur vo ===---', 'bleu')
ttyfound = system("/usr/bin/who | /bin/grep -E 'tty0| :0 | \(:0'") ttyfound = system("/usr/bin/who | /bin/grep -E 'tty0| :0 | \(:0'")
print '' print ''
if len(machines) != 0 or ttyfound == 0: if len(machines) != 0 or ttyfound == 0: