Verified Commit b5d6e351 authored by David Beniamine's avatar David Beniamine
Browse files

Fix bad clock #11

parent cef3c3ca
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -27,6 +27,13 @@ $DIR/set_screens.sh

sed -i -e 's/lametro.fr/perdu.com/' /etc/conky/conky.conf

echo "Synchronisation de l'heure"
apt-get install ntpdate
systemctl stop ntp
systemctl disable ntp
cp $DIR/ntpdate /etc/default
ntpdate-debian

echo "Récupération de la clef ssh du serveur"
tftp ecole-dc <<'EOF'
get id_rsa.pub

ntpdate

0 → 100644
+14 −0
Original line number Diff line number Diff line
# 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.
NTPDATE_USE_NTP_CONF=yes

# List of NTP servers to use  (Separate multiple servers with spaces.)
# Not used if NTPDATE_USE_NTP_CONF is yes.
#NTPSERVERS="0.debian.pool.ntp.org 1.debian.pool.ntp.org 2.debian.pool.ntp.org 3.debian.pool.ntp.org"
NTPSERVERS="pedago.ecole.lan"

# Additional options to pass to ntpdate
NTPOPTIONS="-u"