egon -> vo
darcs-hash:20090426140038-af139-cd4826771b1430c4d3c3df313f1a09a5b6eb7c45.gz
This commit is contained in:
parent
0b7af6b0b1
commit
d91a411300
1 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue