Commit e3078268 authored by aTc's avatar aTc

pyra-first-run.sh: ask to enable firewall

parent b341bd4c
......@@ -57,7 +57,14 @@ hostnamectl set-hostname $hostname
# --
# Enable firewall
# Firewall
if zenity --question --title="Firewall" --text="Enable Firewall ? \n\nIf enabled a firewall is set up to allow incoming ssh traffic, blocking everything else." --ok-label="Yes" --cancel-label="No"; then
ufw allow ssh
ufw enable
else
ufw disable
fi
# allow incoming ssh
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment