summaryrefslogtreecommitdiff
path: root/packages/psplash/files
diff options
context:
space:
mode:
authorPaul Sokolovsky <pmiscml@gmail.com>2007-12-02 15:05:53 +0000
committerPaul Sokolovsky <pmiscml@gmail.com>2007-12-02 15:05:53 +0000
commit0ebdb17f66506573868880a0fa9e0b0afc1684fa (patch)
treea0bc815b5bd3edaf998508c702000a2e03ef9fdf /packages/psplash/files
parent48d50d5d54bbf50d95c1f5d7cf29644d93c45de0 (diff)
psplash: Add stopgap trap against symptomless hangs with psplash on the screen.
* Add timer to shutdown psplash after 120 seconds. Normal boot procedure should be over by then, but if not, user at least will see on the console screen where it hung.
Diffstat (limited to 'packages/psplash/files')
-rw-r--r--packages/psplash/files/psplash-init2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/psplash/files/psplash-init b/packages/psplash/files/psplash-init
index 2bd83cfb07..5587346cb1 100644
--- a/packages/psplash/files/psplash-init
+++ b/packages/psplash/files/psplash-init
@@ -19,3 +19,5 @@ export TMPDIR=/mnt/.psplash
mount tmpfs -t tmpfs $TMPDIR -o,size=40k
/usr/bin/psplash $psplash_args &
+
+(sleep 120; psplash-write "QUIT") &