diff options
Diffstat (limited to 'sys-boot/plymouth/files/plymouth.initd')
-rw-r--r-- | sys-boot/plymouth/files/plymouth.initd | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/sys-boot/plymouth/files/plymouth.initd b/sys-boot/plymouth/files/plymouth.initd new file mode 100644 index 000000000000..5c986e871bd6 --- /dev/null +++ b/sys-boot/plymouth/files/plymouth.initd @@ -0,0 +1,23 @@ +#!/sbin/runscript +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-boot/plymouth/files/plymouth.initd,v 1.1 2011/02/21 21:08:17 aidecoe Exp $ + +depend() { + before xdm +} + +start() { + ebegin "Hiding plymouth splash" + if pgrep plymouthd >/dev/null; then + /bin/plymouth --quit + chvt 7 + fi + eend $? +} + +stop() { + ebegin "Showing plymouth splash" + /sbin/plymouthd && /bin/plymouth --show-splash + eend $? +} |