~brian-murray/lightdm/bug-967229

« back to all changes in this revision

Viewing changes to debian/lightdm.upstart

  • Committer: Brian Murray
  • Date: 2013-03-18 22:56:41 UTC
  • Revision ID: brian@canonical.com-20130318225641-0spd47533ej5d699
debian/lightdm.upstart: Clear the virtual terminal after starting lightdm
so startup messages are not displayed when switching users or when
suspending (LP: #967229)

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
    exec lightdm
48
48
end script
49
49
 
 
50
post-start script
 
51
    sleep 5
 
52
    clear > /dev/tty7
 
53
end script
 
54
 
50
55
post-stop script
51
56
        if [ "$UPSTART_STOP_EVENTS" = runlevel ]; then
52
57
                initctl emit desktop-shutdown