diff options
Diffstat (limited to 'event.d/plymouth-shutdown')
-rw-r--r-- | event.d/plymouth-shutdown | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/event.d/plymouth-shutdown b/event.d/plymouth-shutdown deleted file mode 100644 index d76dbd3f..00000000 --- a/event.d/plymouth-shutdown +++ /dev/null @@ -1,24 +0,0 @@ -# plymouth-shutdown - put up shutdown splash -# -# This service triggers plymouth to put up a splash -# when leaving runlevel 5. - -start on stopped prefdm - -console output -script - set $(runlevel || true) - if [ "$2" != "0" ] && [ "$2" != "6" ]; then - exit 0 - fi - - /sbin/plymouthd --mode=shutdown || exit 1 - /bin/plymouth --sysinit - /bin/plymouth --show-splash - if [ "$2" = "0" ]; then - /bin/plymouth message --text="Shutting down..." - elif [ "$2" = "6" ]; then - /bin/plymouth message --text="Restarting..." - fi -end script - |