timedatectl seems to be working now with time sync.
This commit is contained in:
parent
83b7867da4
commit
88d7d12c69
@ -183,7 +183,6 @@ pacman -Su --needed --noconfirm \
|
|||||||
magic-wormhole \
|
magic-wormhole \
|
||||||
man \
|
man \
|
||||||
man-pages \
|
man-pages \
|
||||||
openntpd \
|
|
||||||
networkmanager \
|
networkmanager \
|
||||||
pipewire \
|
pipewire \
|
||||||
pipewire-alsa \
|
pipewire-alsa \
|
||||||
@ -235,7 +234,6 @@ xdg-user-dirs-update
|
|||||||
export aurPackages=(fenrir-git \
|
export aurPackages=(fenrir-git \
|
||||||
growpartfs \
|
growpartfs \
|
||||||
log2ram \
|
log2ram \
|
||||||
networkmanager-dispatcher-openntpd \
|
|
||||||
yay)
|
yay)
|
||||||
export PKGDEST=~/packages
|
export PKGDEST=~/packages
|
||||||
for p in "\${aurPackages[@]}" ; do
|
for p in "\${aurPackages[@]}" ; do
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# For audible sudo prompts:
|
# For audible sudo prompts:
|
||||||
unset sudoFlags
|
unset sudoFlags
|
||||||
@ -24,10 +24,9 @@ if [[ -x /opt/configure-stormux/configure-stormux.sh ]]; then
|
|||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
export DIALOGOPTS='--insecure --no-lines --visit-items'
|
||||||
|
|
||||||
set_timezone() {
|
set_timezone() {
|
||||||
export DIALOGOPTS='--insecure --no-lines --visit-items'
|
|
||||||
|
|
||||||
|
|
||||||
# Get the list of timezones
|
# Get the list of timezones
|
||||||
mapfile -t regions < <(timedatectl --no-pager list-timezones | cut -d '/' -f1 | sort -u)
|
mapfile -t regions < <(timedatectl --no-pager list-timezones | cut -d '/' -f1 | sort -u)
|
||||||
|
|
||||||
@ -51,6 +50,7 @@ set_timezone() {
|
|||||||
rm /etc/localtime
|
rm /etc/localtime
|
||||||
fi
|
fi
|
||||||
ln -sf /usr/share/zoneinfo/${region}/${city} /etc/localtime
|
ln -sf /usr/share/zoneinfo/${region}/${city} /etc/localtime
|
||||||
|
timedatectl set-ntp true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user