~upstart-devel/upstart/upstart-jobs

« back to all changes in this revision

Viewing changes to utopic/etc/init/plymouth-stop.conf

  • Committer: Dimitri John Ledkov
  • Date: 2014-11-19 12:58:41 UTC
  • Revision ID: dimitri.j.ledkov@intel.com-20141119125841-98dr37roy8dvcv3b
auto update

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# plymouth-stop - Hide the splash screen
2
 
#
3
 
# This job ensures that only one service stops the plymouth splash screen,
4
 
# without it there can be a race between gdm starting up and beginning the
5
 
# proper transition procedure and rc2 ending and quitting plymouth resulting
6
 
# in it doing a VT switch.
7
 
 
8
 
start on (starting gdm
9
 
          or starting kdm
10
 
          or starting xdm
11
 
          or starting lxdm
12
 
          or starting lightdm
13
 
          or starting uxlaunch
14
 
          or starting ubiquity
15
 
          or starting oem-config
16
 
          or stopped rc RUNLEVEL=[2345]
17
 
          or starting rcS
18
 
          or starting mountall-shell)
19
 
stop on stopped plymouth
20
 
 
21
 
pre-start script
22
 
    case "$JOB" in
23
 
    gdm|lightdm|ubiquity|oem-config)
24
 
        exit 0
25
 
        ;;
26
 
    *)
27
 
        exec /bin/plymouth quit
28
 
        ;;
29
 
    esac
30
 
end script