summaryrefslogblamecommitdiffstats
path: root/resources/config/1/uniontmp/etc/init.inactive/plymouth-stop.conf
blob: 710d19eb54ef0a390e14e939cae55aec28fede69 (plain) (tree)



























                                                                            
# plymouth-stop - Hide the splash screen
#
# This job ensures that only one service stops the plymouth splash screen,
# without it there can be a race between gdm starting up and beginning the
# proper transition procedure and rc2 ending and quitting plymouth resulting
# in it doing a VT switch.

start on (starting gdm
          or starting kdm
          or starting xdm
          or starting lxdm
          or starting ubiquity
          or starting oem-config
          or stopped rc RUNLEVEL=[2345]
          or starting rcS
          or starting mountall-shell)
stop on stopped plymouth

pre-start script
    case "$JOB" in
    gdm|kdm|ubiquity|oem-config)
	exit 0
	;;
    *)
	exec /bin/plymouth quit
	;;
    esac
end script