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