diff --git a/bin/omarchy-cmd-timesync b/bin/omarchy-cmd-timesync new file mode 100755 index 00000000..71517f06 --- /dev/null +++ b/bin/omarchy-cmd-timesync @@ -0,0 +1,3 @@ +#!/bin/bash + +sudo systemctl restart systemd-timesyncd diff --git a/bin/omarchy-update b/bin/omarchy-update index 3c57c3d2..bb9ad66c 100755 --- a/bin/omarchy-update +++ b/bin/omarchy-update @@ -2,9 +2,7 @@ set -e -# Ensure the clock is synced before we start -sudo systemctl restart systemd-timesyncd - +omarchy-cmd-timesync omarchy-snapshot create || [ $? -eq 127 ] omarchy-update-git omarchy-migrate