psplash: Add stopgap trap against symptomless hangs with psplash on the screen.
authorPaul Sokolovsky <pmiscml@gmail.com>
Sun, 2 Dec 2007 15:05:53 +0000 (15:05 +0000)
committerPaul Sokolovsky <pmiscml@gmail.com>
Sun, 2 Dec 2007 15:05:53 +0000 (15:05 +0000)
* 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.

packages/psplash/files/psplash-init

index 2bd83cf..5587346 100644 (file)
@@ -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") &