2011-10-13 12:58:31 +02:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
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*)
|
|
|
|
SPLASH="false"
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
done
|
|
|
|
|
|
|
|
if [ "${SPLASH}" = "true" ]; then
|
|
|
|
modprobe i8042
|
|
|
|
modprobe atkbd
|
|
|
|
|
2012-01-11 18:29:46 +01:00
|
|
|
/sbin/plymouthd --mode=boot --pid-file=/run/plymouth/pid
|
2011-10-13 12:58:31 +02:00
|
|
|
/bin/plymouth --show-splash
|
|
|
|
fi
|