diff options
author | Jeremy Lainé <jeremy.laine@m4x.org> | 2008-12-23 13:35:35 +0100 |
---|---|---|
committer | Jeremy Lainé <jeremy.laine@m4x.org> | 2008-12-23 13:35:35 +0100 |
commit | 35781184a69de7baf128f9bff1af185ccd3b4d53 (patch) | |
tree | 940177ea0a84bde3c77f051d8396a76dc22f33c1 /packages/psplash/files/psplash-init | |
parent | e96fd46ba551a014d19021c06c6e9e73f69e436a (diff) |
psplash: add config file to pass parameters to psplash
Diffstat (limited to 'packages/psplash/files/psplash-init')
-rw-r--r-- | packages/psplash/files/psplash-init | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/psplash/files/psplash-init b/packages/psplash/files/psplash-init index 7f7eb36fbe..7796a79064 100644 --- a/packages/psplash/files/psplash-init +++ b/packages/psplash/files/psplash-init @@ -10,19 +10,19 @@ for x in $(cat /proc/cmdline); do done . /etc/init.d/functions +. /etc/default/psplash -psplash_args='' case `machine_id` in "hp_ipaq_h3100"|"hp_ipaq_h3800") - pspash_args='-a 90' ;; + PARAMS='-a 90' ;; "hp_ipaq_3600"|"hp_ipaq_3700"|"hp_ipaq_h3900"|"htc_universal"|*collie|*poodle|*akita|*spitz|*borzoi) - psplash_args='-a 270' ;; + PARAMS='-a 270' ;; esac export TMPDIR=/mnt/.psplash mount tmpfs -t tmpfs $TMPDIR -o,size=40k -/usr/bin/psplash $psplash_args & +/usr/bin/psplash $PARAMS & # Timetrap against hanging with splash hiding console messages. (sleep 120; psplash-write "QUIT") & |