Enable ntp in install script

Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
Severin Kaderli 2019-06-25 10:53:45 +02:00
parent cd3ac0b745
commit 6aed067d4c
Signed by: severinkaderli
GPG key ID: F419F8835B72F0C4

10
install
View file

@ -114,6 +114,7 @@ SYSTEMD_SERVICES=(
"NetworkManager" "NetworkManager"
"org.cups.cupsd" "org.cups.cupsd"
"suspend" "suspend"
"systemd-timesyncd"
"xboxdrv" "xboxdrv"
) )
@ -357,7 +358,7 @@ sudo udevadm control --reload-rules
############################################################################### ###############################################################################
# Copying root files # # Copying root files #
############################################################################### ###############################################################################
print_section "Copying root files" print_section "Copying root files"
for file in "${!COPY_ROOT_FILES[@]}"; do for file in "${!COPY_ROOT_FILES[@]}"; do
@ -366,6 +367,13 @@ for file in "${!COPY_ROOT_FILES[@]}"; do
done done
###############################################################################
# Enable ntp #
###############################################################################
print_section "Enabling ntp"
timedatectl set-ntp true
############################################################################### ###############################################################################
# Setting lockscreen image # # Setting lockscreen image #
############################################################################### ###############################################################################