File ply-splash.init of Package plymouth-lite
#! /bin/bash
# Copyright (c) 2010 SuSE Linux AG, Nuernberg, Germany.
# All rights reserved.
#
# /etc/init.d/ply-splash
#
### BEGIN INIT INFO
# Provides: ply-shutdown
# Required-Start: xdm $remote_fs
# Required-Stop: $null
# Default-Start: 5
# Default-Stop:
# Short-Description: Shutdown splash screen
# Description: plymouth shutdown splash
### END INIT INFO
case "$1" in
start)
;;
stop)
#
# Show splash screen
#
SPLASH_IMAGE="/usr/share/plymouth/shutdown.png"
SPLASH_VENDOR="/usr/share/plymouth/shutdown-vendor.png"
[ -f "$SPLASH_VENDOR" ] && SPLASH_IMAGE="$SPLASH_VENDOR"
[ -f "$SPLASH_IMAGE" ] || SPLASH_IMAGE="/usr/share/plymouth/splash.png"
/usr/bin/ply-image "$SPLASH_IMAGE" 4 >/dev/null 2>&1
;;
restart)
$0 stop
$0 start
;;
reload)
;;
status)
;;
esac