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

Compare commits

..

3 Commits

Author SHA1 Message Date
231318adcb
Add missing sudo
Signed-off-by: Tommy <contact@tommytran.io>
2024-08-26 12:43:02 -07:00
71220947a7
Typo Fix 2024-08-26 09:48:26 -07:00
7ec8b4b875
Typo Fix
Signed-off-by: Tommy <contact@tommytran.io>
2024-08-26 09:28:27 -07:00
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
mkdir -p /etc/systemd/system/fwupd-refresh.service.d
sudo 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/sshd.service.d/
sudo chmod 755 /etc/systemd/system/sshd.service.d/
sudo mkdir -p /etc/systemd/system/ssh.service.d/
sudo chmod 755 /etc/systemd/system/ssh.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
sudo ufw enable -y
echo 'y' | sudo ufw enable
sudo ufw allow SSH
sudo reboot