Firewall display style
This commit is contained in:
parent
e03071ec18
commit
704932c1a0
|
@ -10,7 +10,7 @@
|
||||||
[[file:images/logo.png]]
|
[[file:images/logo.png]]
|
||||||
#+END_CENTER
|
#+END_CENTER
|
||||||
|
|
||||||
#+BEGIN_EXPORT html
|
#+BEGIN_EXPORT HTML
|
||||||
<center>
|
<center>
|
||||||
<h1>Social Instance</h1>
|
<h1>Social Instance</h1>
|
||||||
</center>
|
</center>
|
||||||
|
|
|
@ -1776,16 +1776,15 @@ function reinstall_mariadb {
|
||||||
}
|
}
|
||||||
|
|
||||||
function show_firewall {
|
function show_firewall {
|
||||||
clear
|
W=()
|
||||||
echo $"Firewall Settings"
|
|
||||||
echo ''
|
|
||||||
while read -r line; do
|
while read -r line; do
|
||||||
firewall_name=$(echo "$line" | awk -F '=' '{print $1}')
|
firewall_name=$(echo "$line" | awk -F '=' '{print $1}')
|
||||||
firewall_port=$(echo "$line" | awk -F '=' '{print $2}')
|
firewall_port=$(echo "$line" | awk -F '=' '{print $2}')
|
||||||
echo -n -e "$(pad_string "${firewall_name}")"
|
W+=("$(pad_string "${firewall_name}")" "${firewall_port}")
|
||||||
echo "${firewall_port}"
|
|
||||||
done < "$FIREWALL_CONFIG"
|
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 {
|
function email_extra_domains {
|
||||||
|
|
Loading…
Reference in New Issue