Fix bad clock #11

parent cef3c3ca
......@@ -27,6 +27,13 @@ $DIR/
sed -i -e 's/' /etc/conky/conky.conf
echo "Synchronisation de l'heure"
apt-get install ntpdate
systemctl stop ntp
systemctl disable ntp
cp $DIR/ntpdate /etc/default
echo "Récupération de la clef ssh du serveur"
tftp ecole-dc <<'EOF'
# The settings in this file are used by the program ntpdate-debian, but not
# by the upstream program ntpdate.
# Set to "yes" to take the server list from /etc/ntp.conf, from package ntp,
# so you only have to keep it in one place.
# List of NTP servers to use (Separate multiple servers with spaces.)
# Not used if NTPDATE_USE_NTP_CONF is yes.
# Additional options to pass to ntpdate
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment