mirror of
https://github.com/nextcloud/vm.git
synced 2025-10-26 11:27:32 +00:00
Create ntpdate.sh
This commit is contained in:
parent
77799a3e7a
commit
694bcf145b
7
static/ntpdate.sh
Normal file
7
static/ntpdate.sh
Normal file
@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
wget -q --spider http://google.com
|
||||
if [ $? -eq 0 ]
|
||||
then
|
||||
ntpdate -s 1.se.pool.ntp.org
|
||||
fi
|
||||
exit
|
||||
Loading…
Reference in New Issue
Block a user