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
Sven Dowideit 5ba2c76c71 Start ntpd using a script and -gx first
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-07-19 23:20:24 +10:00

7 lines
146 B
Bash
Executable File

#!/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