1
0
mirror of https://github.com/rancher/os.git synced 2025-07-05 19:16:13 +00:00
os/images/01-base/usr/bin/start_ntp.sh

7 lines
146 B
Bash
Raw Normal View History

#!/bin/sh
set -ex
echo "starting in one shot mode to fix large time differences"
ntpd -gq
echo "starting long running nptd"
exec ntpd --nofork -g