Browse Source

Définition de la Timezone et activation de la synchro NTP

master
heuzef 5 years ago
parent
commit
2cbc86f525
1 changed files with 5 additions and 9 deletions
  1. +5
    -9
      install.sh

+ 5
- 9
install.sh View File

@@ -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


Loading…
Cancel
Save