PageRenderTime 51ms CodeModel.GetById 30ms app.highlight 1ms RepoModel.GetById 19ms app.codeStats 0ms

/init/plymouth.conf

http://github.com/brinkman83/bashrc
Config | 34 lines | 28 code | 6 blank | 0 comment | 0 complexity | a0352db1159bc9f4322170dd78cd1dae MD5 | raw file
 1# plymouth - Userspace bootsplash utility
 2#
 3# plymouth provides a boot splash screen on the system console using
 4# the kernel framebuffer device.  On boot, this is nominally started by
 5# the initramfs so the pre-start script, script and post-start script
 6# parts are actually not run.  These are normally run on shutdown instead.
 7
 8description	"Userspace bootsplash utility"
 9
10start on (starting mountall
11          or (runlevel [016]
12              and (stopped gdm
13                   or stopped kdm
14                   or stopped xdm
15                   or stopped lxdm)))
16
17expect fork
18kill timeout 60
19
20script
21    if [ "$RUNLEVEL" = "0" -o "$RUNLEVEL" = "1" -o "$RUNLEVEL" = "6" ]; then
22        exec /sbin/plymouthd --mode=shutdown
23    else
24        exec /sbin/plymouthd --mode=boot --attach-to-session
25    fi
26end script
27
28post-start script
29    if [ "$RUNLEVEL" = "0" -o "$RUNLEVEL" = "1" -o "$RUNLEVEL" = "6" ]; then
30	exec /bin/plymouth show-splash
31    fi
32end script
33
34pre-stop exec /bin/plymouth quit