autoupdate:

- use usleep instead sleep
This commit is contained in:
Stephan Raue 2010-04-25 16:46:17 +02:00
parent 04511100d8
commit 8265c228d6
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ if [ ! -f /var/lock/update.lock ]; then
touch /var/lock/update.lock touch /var/lock/update.lock
# sleep a bit, maybe we have a lot of work ;-) # sleep a bit, maybe we have a lot of work ;-)
sleep 30 usleep 30000000
send_message () { send_message () {
xbmc-send --host=127.0.0.1 -a "Notification(Automatic update service:,$1,20000)" xbmc-send --host=127.0.0.1 -a "Notification(Automatic update service:,$1,20000)"

View File

@ -10,7 +10,7 @@ if [ ! -f /var/lock/update.lock ]; then
touch /var/lock/update.lock touch /var/lock/update.lock
# sleep a bit, maybe we have a lot of work ;-) # sleep a bit, maybe we have a lot of work ;-)
sleep 30 usleep 30000000
send_message () { send_message () {
xbmc-send --host=127.0.0.1 -a "Notification(Automatic Update Service:,$1,20000)" xbmc-send --host=127.0.0.1 -a "Notification(Automatic Update Service:,$1,20000)"