1
0
mirror of https://github.com/rancher/os.git synced 2025-07-09 04:43:04 +00:00
os/images/01-base/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