mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
12 lines
339 B
Bash
Executable File
12 lines
339 B
Bash
Executable File
echo "Enable UFW systemd service for existing installations"
|
|
|
|
if omarchy-cmd-present ufw; then
|
|
if sudo ufw status | grep -q "Status: active\|22/tcp\|53317"; then
|
|
if ! systemctl is-enabled ufw >/dev/null 2>&1; then
|
|
sudo systemctl enable ufw --now
|
|
echo "UFW systemd service enabled"
|
|
fi
|
|
fi
|
|
fi
|
|
|