diff --git a/install.sh b/install.sh index 176c197..be94f05 100755 --- a/install.sh +++ b/install.sh @@ -101,15 +101,11 @@ deluser -f --remove-home pi # Execution automatique de bash a la connexion echo "bash" >> /home/allo-gg/.profile -# Définition de la Timezone - -# You can make this change permanent for yourself by appending the line -# TZ='Europe/Paris'; export TZ -# to the file '.profile' in your home directory; then log out and log in again. -# -# Here is that TZ value again, this time on standard output so that you -# can use the /usr/bin/tzselect command in shell scripts: -# Europe/Paris +# Définition de la Timezone et activation du service NTP +timedatectl set-timezone Europe/Paris +timedatectl set-ntp true +sed -i '$ d' /etc/systemd/timesyncd.conf +echo "FallbackNTP=0.arch.pool.ntp.org 1.arch.pool.ntp.org 2.arch.pool.ntp.org 3.arch.pool.ntp.org" >> /etc/systemd/timesyncd.conf # Autoriser le reboot du module echo >> /etc/sudoers