plymouth-set-default-theme

Finnbarr Murphy fpm at hotmail.com
Wed Dec 16 20:17:29 PST 2009


Two modifications to the plymouth-set-default-theme which others may
find useful

--list.             Indicate the current theme with a visual mark.
--rebuild-initrd.      Add test to check that a theme was specified.

Here are the diffs:
 
38,39d37
<         DEFAULT_THEME_NAME=$(basename $(readlink ${DATADIR}/plymouth/themes/default.plymouth) .plymouth)
42,47c40
<                 THEME_NAME=$(basename $theme .plymouth)
<                 if [ "$THEME_NAME" = "$DEFAULT_THEME_NAME" ]; then
<                       echo "$THEME_NAME (*)"
<                 else
<                       echo $THEME_NAME
<                 fi
---
>                 echo "$(basename $theme .plymouth)"
86,90d78
<                 if [ -z $THEME_NAME ]; then
<                         echo "You must specify a theme for this option"> /dev/stderr
<                         echo $(usage)> /dev/stderr
<                         exit 1
<                 fi

 - Finn

 		 	   		  


More information about the plymouth mailing list