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