mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
autoupdate:
- use usleep instead sleep
This commit is contained in:
parent
04511100d8
commit
8265c228d6
@ -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)"
|
||||||
|
@ -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)"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user