aboutsummaryrefslogtreecommitdiffstats
path: root/main/omxplayer/omxplayer.initd
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2015-01-01 19:31:50 +0200
committerTimo Teräs <timo.teras@iki.fi>2015-01-01 19:31:50 +0200
commitea53ed7649514f5d1b8ca16d09f2240fe6084e45 (patch)
tree628e805e7d4a3a82952e91c0b3e36b1678f470b8 /main/omxplayer/omxplayer.initd
parent26b1a36cb96cafdae691afdbb987c9f48fd35094 (diff)
downloadaports-ea53ed7649514f5d1b8ca16d09f2240fe6084e45.tar.bz2
aports-ea53ed7649514f5d1b8ca16d09f2240fe6084e45.tar.xz
main/omxplayer: enable -dbg, add sleep time to conf.d
Diffstat (limited to 'main/omxplayer/omxplayer.initd')
-rw-r--r--main/omxplayer/omxplayer.initd2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/omxplayer/omxplayer.initd b/main/omxplayer/omxplayer.initd
index 2b2c1b8743..ed47b24749 100644
--- a/main/omxplayer/omxplayer.initd
+++ b/main/omxplayer/omxplayer.initd
@@ -10,7 +10,7 @@ omxplayer_run_loop() {
status=$?
echo "exited: $status"
[ "$status" -eq 129 ] && exit 0
- sleep 0.2
+ [ "$status" -ne 0 ] && sleep ${OMXPLAYER_DELAY:-5}
done
}