summaryrefslogtreecommitdiff
path: root/packages/psplash/files
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2008-12-23 13:35:35 +0100
committerJeremy Lainé <jeremy.laine@m4x.org>2008-12-23 13:35:35 +0100
commit35781184a69de7baf128f9bff1af185ccd3b4d53 (patch)
tree940177ea0a84bde3c77f051d8396a76dc22f33c1 /packages/psplash/files
parente96fd46ba551a014d19021c06c6e9e73f69e436a (diff)
psplash: add config file to pass parameters to psplash
Diffstat (limited to 'packages/psplash/files')
-rw-r--r--packages/psplash/files/boc01/psplash-default2
-rw-r--r--packages/psplash/files/psplash-default2
-rw-r--r--packages/psplash/files/psplash-init8
3 files changed, 8 insertions, 4 deletions
diff --git a/packages/psplash/files/boc01/psplash-default b/packages/psplash/files/boc01/psplash-default
new file mode 100644
index 0000000000..70677b1550
--- /dev/null
+++ b/packages/psplash/files/boc01/psplash-default
@@ -0,0 +1,2 @@
+# Parameters to pass to psplash
+PARAMS="-n"
diff --git a/packages/psplash/files/psplash-default b/packages/psplash/files/psplash-default
new file mode 100644
index 0000000000..a5a53d771d
--- /dev/null
+++ b/packages/psplash/files/psplash-default
@@ -0,0 +1,2 @@
+# Parameters to pass to psplash
+PARAMS=""
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") &