turn on firewalld

This commit is contained in:
David Young
2026-10-23 08:28:43 -06:00
parent 872ad4b831
commit 4ffecf6f7a
6 changed files with 109 additions and 10 deletions
+6 -9
View File
@@ -132,15 +132,12 @@ cd ~/.local/share/MiniServer
. fix-networking.sh
# Install Cockpit
if ! pacman -Qi cockpit &> /dev/null; then
echo "Installing Cockpit..."
sudo pacman -S --noconfirm cockpit
sudo systemctl enable --now cockpit.socket
echo "Cockpit installed. Access it at http://localhost:9090"
else
echo "Cockpit is already installed, skipping."
fi
# Set up Cockpit (installed with the utilities above)
setup_cockpit
echo "Cockpit is at https://$(uname -n).local:9090"
# Set up firewalld (installed with the utilities above)
setup_firewall
# Install Sway config files
if [ ! -d "$HOME/.config/sway" ]; then