1
0
mirror of https://github.com/tommytran732/Linux-Setup-Scripts synced 2024-11-22 01:21:33 -05:00

Add -y to ufw enable

Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
Tommy 2024-06-17 23:39:25 -07:00
parent 6c1de621c5
commit 37a66b8b12
Signed by: Tomster
GPG Key ID: 555C902A34EC968F
2 changed files with 2 additions and 2 deletions

View File

@ -226,7 +226,7 @@ sudo systemctl restart fwupd
# UFW Snap is strictly confined, unlike its .deb counterpart # UFW Snap is strictly confined, unlike its .deb counterpart
sudo apt purge -y ufw sudo apt purge -y ufw
sudo snap install ufw sudo snap install ufw
sudo ufw enable sudo ufw enable -y
unpriv curl 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 unpriv curl 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
sudo chmod 644 /etc/NetworkManager/conf.d/00-macrandomize.conf sudo chmod 644 /etc/NetworkManager/conf.d/00-macrandomize.conf

View File

@ -214,7 +214,7 @@ sudo systemctl disable systemd-resolved
# UFW Snap is strictly confined, unlike its .deb counterpart # UFW Snap is strictly confined, unlike its .deb counterpart
sudo apt purge -y ufw sudo apt purge -y ufw
sudo snap install ufw sudo snap install ufw
sudo ufw enable sudo ufw enable -y
sudo ufw allow SSH sudo ufw allow SSH
sudo reboot sudo reboot