|
|
|
@ -3,13 +3,10 @@ set -e
|
|
|
|
|
|
|
|
|
|
if [ -e /usr/sbin/plymouth-set-default-theme ]
|
|
|
|
|
then
|
|
|
|
|
if [ -e /usr/share/plymouth/themes/pureos-logo/pureos-logo.plymouth ]
|
|
|
|
|
if [ -e /usr/share/plymouth/themes/pureos/pureos.plymouth ]
|
|
|
|
|
then
|
|
|
|
|
# likely a GUI configuration, we want the nice PureOS splash
|
|
|
|
|
plymouth-set-default-theme pureos-logo
|
|
|
|
|
else
|
|
|
|
|
# likely a server/non-gui setup. We want to be verbose and show details.
|
|
|
|
|
plymouth-set-default-theme details
|
|
|
|
|
plymouth-set-default-theme pureos
|
|
|
|
|
fi
|
|
|
|
|
/usr/sbin/update-initramfs -u
|
|
|
|
|
fi
|
|
|
|
|