diff options
author | Khem Raj <raj.khem@gmail.com> | 2009-02-23 13:19:19 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2009-02-23 13:19:19 -0800 |
commit | 8c2955ce84aa2dacfacdfa96b8d2bfaf08f985d2 (patch) | |
tree | 01b120afb41cf6fe91c0a093ac38ad7864bb862f /packages/psplash/files/psplash-init | |
parent | 0773447006cd2aa0b2c3ac364ce6e1c151215087 (diff) | |
parent | 0f5b41fdc74c6b18d482cab683a7fb2d53b6e3a2 (diff) |
Merge branch 'org.openembedded.dev' of git@git.openembedded.net:openembedded into org.openembedded.dev
Diffstat (limited to 'packages/psplash/files/psplash-init')
-rw-r--r-- | packages/psplash/files/psplash-init | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/packages/psplash/files/psplash-init b/packages/psplash/files/psplash-init index 7796a79064..a4fb1dc7d1 100644 --- a/packages/psplash/files/psplash-init +++ b/packages/psplash/files/psplash-init @@ -1,13 +1,9 @@ #!/bin/sh -for x in $(cat /proc/cmdline); do - case $x in - psplash=false) - echo "Boot splashscreen disabled" - exit 0; - ;; - esac -done +if grep -qE '\s?psplash=false\s?' /proc/cmdline; then + echo "Boot splashscreen disabled" + exit 0; +fi . /etc/init.d/functions . /etc/default/psplash |