diff options
Diffstat (limited to 'packages/psplash/files/psplash-init')
-rw-r--r-- | packages/psplash/files/psplash-init | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/packages/psplash/files/psplash-init b/packages/psplash/files/psplash-init index 3a5cb653aa..a966638074 100644 --- a/packages/psplash/files/psplash-init +++ b/packages/psplash/files/psplash-init @@ -1,6 +1,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 & + |