mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-28 21:56:31 +00:00
Merge branch 'thingos'
This commit is contained in:
commit
dcfd9a4048
@ -40,7 +40,7 @@ source $conf
|
||||
|
||||
set_current_date_http() {
|
||||
date_str=$(curl -v -s -m $date_timeout -X GET http://$date_host 2>&1 | grep Date | sed -e 's/< Date: //')
|
||||
date -D "%a, %d %b %Y %H:%M:%S" -s "$date_str" > /dev/null
|
||||
date -u -D "%a, %d %b %Y %H:%M:%S" -s "$date_str" > /dev/null
|
||||
return $?
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user