turn on firewalld
This commit is contained in:
+6
-9
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user