From 8265c228d61e62d11bc9d2165aa8543d63b94e73 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Sun, 25 Apr 2010 16:46:17 +0200 Subject: [PATCH] autoupdate: - use usleep instead sleep --- packages/sysutils/autoupdate/scripts/autoupdate.devel | 2 +- packages/sysutils/autoupdate/scripts/autoupdate.release | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/sysutils/autoupdate/scripts/autoupdate.devel b/packages/sysutils/autoupdate/scripts/autoupdate.devel index a44b5c6e8a..e5a128b163 100755 --- a/packages/sysutils/autoupdate/scripts/autoupdate.devel +++ b/packages/sysutils/autoupdate/scripts/autoupdate.devel @@ -10,7 +10,7 @@ if [ ! -f /var/lock/update.lock ]; then touch /var/lock/update.lock # sleep a bit, maybe we have a lot of work ;-) - sleep 30 + usleep 30000000 send_message () { xbmc-send --host=127.0.0.1 -a "Notification(Automatic update service:,$1,20000)" diff --git a/packages/sysutils/autoupdate/scripts/autoupdate.release b/packages/sysutils/autoupdate/scripts/autoupdate.release index 58c11b9714..3d1f5cdfdf 100755 --- a/packages/sysutils/autoupdate/scripts/autoupdate.release +++ b/packages/sysutils/autoupdate/scripts/autoupdate.release @@ -10,7 +10,7 @@ if [ ! -f /var/lock/update.lock ]; then touch /var/lock/update.lock # sleep a bit, maybe we have a lot of work ;-) - sleep 30 + usleep 30000000 send_message () { xbmc-send --host=127.0.0.1 -a "Notification(Automatic Update Service:,$1,20000)"