Firewall display style

This commit is contained in:
Bob Mottram 2018-03-18 09:55:34 +00:00
parent e03071ec18
commit 704932c1a0
2 changed files with 6 additions and 7 deletions

View File

@ -10,7 +10,7 @@
[[file:images/logo.png]]
#+END_CENTER
#+BEGIN_EXPORT html
#+BEGIN_EXPORT HTML
<center>
<h1>Social Instance</h1>
</center>

View File

@ -1776,16 +1776,15 @@ function reinstall_mariadb {
}
function show_firewall {
clear
echo $"Firewall Settings"
echo ''
W=()
while read -r line; do
firewall_name=$(echo "$line" | awk -F '=' '{print $1}')
firewall_port=$(echo "$line" | awk -F '=' '{print $2}')
echo -n -e "$(pad_string "${firewall_name}")"
echo "${firewall_port}"
W+=("$(pad_string "${firewall_name}")" "${firewall_port}")
done < "$FIREWALL_CONFIG"
any_key
# shellcheck disable=SC2068
dialog --backtitle $"Freedombone Administrator Control Panel" --title $"Firewall" --menu $"Press ESC to return to main menu" 28 60 28 "${W[@]}" 3>&2 2>&1 1>&3
}
function email_extra_domains {