mirror of
https://github.com/tommytran732/Linux-Setup-Scripts
synced 2024-11-22 09:31:34 -05:00
Stop systemd-timesyncd before masking
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
parent
59fb5c611b
commit
83248c3718
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user