You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
make-live/config/hooks/normal/001-plymouth-theme.hook.chroot

16 lines
407 B

#!/bin/sh
set -e
if [ -e /usr/sbin/plymouth-set-default-theme ]
then
if [ -e /usr/share/plymouth/themes/pureos-logo/pureos-logo.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
fi
/usr/sbin/update-initramfs -u
fi