diff options
| -rwxr-xr-x | scripts/bin/poor_mans_sync_time | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/bin/poor_mans_sync_time b/scripts/bin/poor_mans_sync_time new file mode 100755 index 0000000..1dba44d --- /dev/null +++ b/scripts/bin/poor_mans_sync_time | |||
| @@ -0,0 +1,4 @@ | |||
| 1 | #!/bin/bash | ||
| 2 | |||
| 3 | sudo echo 'Syncing Time...' | ||
| 4 | sudo date -s "$(curl -Ssv google.com 2>&1 | grep Date: | cut -d' ' -f3-8)" | ||