Add new scripts for system monitoring and remove deprecated scripts

This commit is contained in:
2025-03-14 09:13:55 +00:00
parent 3eab62885f
commit 560bc58184
20 changed files with 7 additions and 1740 deletions

View File

@@ -111,6 +111,7 @@ if [[ "$OSTYPE" != "darwin"* ]]; then
sudo ufw limit 22/tcp
fi
sudo ufw enable
sudo ss -tupln | tee "$HOME/dotfiles/logs/open_ports.log"
sudo ufw status numbered | tee "$HOME/dotfiles/logs/ufw_status.log"
if [ $? -ne 0 ]; then
printf "${RED}Error setting up UFW.${NC}\n"