aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xfai/config/hooks/setup.DEFAULT.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/fai/config/hooks/setup.DEFAULT.sh b/fai/config/hooks/setup.DEFAULT.sh
index d7a9981..aced36f 100755
--- a/fai/config/hooks/setup.DEFAULT.sh
+++ b/fai/config/hooks/setup.DEFAULT.sh
@@ -9,3 +9,5 @@
#if [ $do_init_tasks -eq 1 ]; then
# echo $HOSTNAME > /proc/sys/kernel/hostname
#fi
+
+fping ntp.intern 1>/dev/null && ntpdate ntp.intern