Firewall display style
This commit is contained in:
parent
e03071ec18
commit
704932c1a0
|
@ -10,7 +10,7 @@
|
|||
[[file:images/logo.png]]
|
||||
#+END_CENTER
|
||||
|
||||
#+BEGIN_EXPORT html
|
||||
#+BEGIN_EXPORT HTML
|
||||
<center>
|
||||
<h1>Social Instance</h1>
|
||||
</center>
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue