source: projects/initscripts/tags/initscripts-8.91.0/init/plymouth-shutdown.conf @ 1108

Revision 1108, 610 bytes checked in by daisuke, 14 years ago (diff)

import initscripts-8.90.6 from internal cvs repository

Line 
1# plymouth-shutdown - put up shutdown splash
2#
3# This service triggers plymouth to put up a splash
4# when leaving runlevel 5.
5
6start on stopped prefdm
7
8console output
9script
10        set $(runlevel || true)
11        if [ "$2" != "0" ] && [ "$2" != "6" ]; then
12                exit 0
13        fi
14
15        /sbin/plymouthd --mode=reboot || exit 1
16        /bin/plymouth --sysinit
17        /bin/plymouth --show-splash
18        if [ "$2" = "0" ]; then
19                /bin/plymouth message --text="Shutting down..."
20        elif [ "$2" = "6" ]; then
21                /bin/plymouth message --text="Restarting..."
22        fi
23end script
24
Note: See TracBrowser for help on using the repository browser.