/usr/share/initramfs-tools/scripts/init-premount/plymouth is in plymouth 0.9.2-3ubuntu13.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | #!/bin/sh
OPTION=FRAMEBUFFER
PREREQ="udev"
prereqs()
{
echo "${PREREQ}"
}
case ${1} in
prereqs)
prereqs
exit 0
;;
esac
SPLASH="false"
for ARGUMENT in $(cat /proc/cmdline)
do
case "${ARGUMENT}" in
splash*)
SPLASH="true"
;;
nosplash*|plymouth.enable=0)
SPLASH="false"
;;
esac
done
if [ "${SPLASH}" = "true" ]
then
mkdir -m 0755 /run/plymouth
/sbin/plymouthd --mode=boot --attach-to-session --pid-file=/run/plymouth/pid
/bin/plymouth --show-splash
fi
|