1
0
mirror of https://github.com/tommytran732/Linux-Setup-Scripts synced 2024-09-18 13:14:43 -04:00

Stop systemd-timesyncd before masking

Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
Tommy 2024-04-28 13:44:01 -07:00
parent 59fb5c611b
commit 83248c3718
Signed by: Tomster
GPG Key ID: 555C902A34EC968F
3 changed files with 3 additions and 0 deletions

View File

@ -47,6 +47,7 @@ sudo apt full-upgrade -y
sudo apt install kali-linux-everything -y
# Setup NTS
sudo systemctl disable --now systemd-timesyncd
sudo systemctl mask systemd-timesyncd
if [ "${parallels}" = "0" ]; then

View File

@ -47,6 +47,7 @@ sudo chmod 700 /home/*
# Setup NTS
sudo systemctl disable --now systemd-timesyncd
sudo systemctl mask systemd-timesyncd
sudo apt install -y chrony
unpriv curl https://raw.githubusercontent.com/GrapheneOS/infrastructure/main/chrony.conf | sudo tee /etc/chrony/chrony.conf
sudo systemctl restart chronyd

View File

@ -64,6 +64,7 @@ sudo sed -i 's/USERGROUPS_ENAB yes/USERGROUPS_ENAB no/g' /etc/login.defs
echo 'umask 077' | sudo tee --append /etc/profile
# Setup NTS
sudo systemctl disable --now systemd-timesyncd
sudo systemctl mask systemd-timesyncd
if [ "${parallels}" = "0" ]; then