Adaptation à jessie sur les tty
This commit is contained in:
parent
607c1b8855
commit
12e755fa64
1 changed files with 2 additions and 2 deletions
|
@ -85,7 +85,7 @@ def liste_2b(warn_mail=[]):
|
||||||
# Utilisateurs connectés sur vo sur place
|
# Utilisateurs connectés sur vo sur place
|
||||||
if gethostname() == 'vo':
|
if gethostname() == 'vo':
|
||||||
cprint('---=== W(ho) sur vo ===---', 'bleu')
|
cprint('---=== W(ho) sur vo ===---', 'bleu')
|
||||||
ttyfound = system("/usr/bin/w -s | grep tty`fgconsole`")
|
ttyfound = system("/usr/bin/w -s | grep ?xdm?")
|
||||||
print ''
|
print ''
|
||||||
|
|
||||||
# Conclusion
|
# Conclusion
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue