Преглед на файлове

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

master
heuzef преди 5 години
родител
ревизия
2cbc86f525
променени са 1 файла, в които са добавени 5 реда и са изтрити 9 реда
  1. +5
    -9
      install.sh

+ 5
- 9
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


Зареждане…
Отказ
Запис