1 2 3 4 5 6
if ! grep -Eq '\s?psplash=false\s?' /proc/cmdline; then mkdir -p /mnt/.psplash mount tmpfs -t tmpfs /mnt/.psplash -o,size=40k psplash & fi