1
0
mirror of https://github.com/tommytran732/Linux-Setup-Scripts synced 2024-12-04 14:51:34 -05:00

Compare commits

..

No commits in common. "231318adcb7235549b445666cf46685c5af0ef00" and "e1a71ac2a9b4f1c343f4edd1f4f6630fcce6291a" have entirely different histories.

3 changed files with 5 additions and 5 deletions

View File

@ -168,7 +168,7 @@ sudo systemctl enable fstrim.timer
sudo dnf install -y fwupd
echo 'UriSchemes=file;https' | sudo tee -a /etc/fwupd/fwupd.conf
sudo systemctl restart fwupd
sudo mkdir -p /etc/systemd/system/fwupd-refresh.service.d
mkdir -p /etc/systemd/system/fwupd-refresh.service.d
unpriv curl -s https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/systemd/system/fwupd-refresh.service.d/override.conf | sudo tee /etc/systemd/system/fwupd-refresh.service.d/override.conf > /dev/null
sudo chmod 644 /etc/systemd/system/fwupd-refresh.service.d/override.conf
sudo systemctl daemon-reload

View File

@ -231,7 +231,7 @@ sudo systemctl restart fwupd
# UFW Snap is strictly confined, unlike its .deb counterpart
sudo apt purge -y ufw
sudo snap install ufw
echo 'y' | sudo ufw enable
echo y | sudo ufw enable
unpriv curl -s https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/NetworkManager/conf.d/00-macrandomize.conf | sudo tee /etc/NetworkManager/conf.d/00-macrandomize.conf > /dev/null
sudo chmod 644 /etc/NetworkManager/conf.d/00-macrandomize.conf

View File

@ -55,8 +55,8 @@ unpriv curl -s https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Script
sudo chmod 644 /etc/ssh/sshd_config.d/10-custom.conf
unpriv curl -s https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/ssh/ssh_config.d/10-custom.conf | sudo tee /etc/ssh/ssh_config.d/10-custom.conf > /dev/null
sudo chmod 644 /etc/ssh/ssh_config.d/10-custom.conf
sudo mkdir -p /etc/systemd/system/ssh.service.d/
sudo chmod 755 /etc/systemd/system/ssh.service.d/
sudo mkdir -p /etc/systemd/system/sshd.service.d/
sudo chmod 755 /etc/systemd/system/sshd.service.d/
unpriv curl -s https://raw.githubusercontent.com/GrapheneOS/infrastructure/main/systemd/system/sshd.service.d/local.conf | sudo tee /etc/systemd/system/ssh.service.d/override.conf > /dev/null
sudo chmod 644 /etc/systemd/system/ssh.service.d/override.conf
sudo systemctl daemon-reload
@ -195,7 +195,7 @@ sudo systemctl disable systemd-resolved
sudo apt purge -y ufw
sudo apt install -y snapd
sudo snap install ufw
echo 'y' | sudo ufw enable
sudo ufw enable -y
sudo ufw allow SSH
sudo reboot