summaryrefslogtreecommitdiff
path: root/packages/psplash/files/psplash-init
blob: a966638074d855c66878ae2755c0e65e266ed4f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh 

for x in $(cat /proc/cmdline); do
        case $x in
        psplash=false)
		echo "Boot splashscreen disabled" 
		exit 0;
                ;;
        esac
done

export TMPDIR=/mnt/.psplash
mount tmpfs -t tmpfs $TMPDIR -o,size=40k

/usr/bin/psplash &