echo pipe
This commit is contained in:
parent
0c1e3938b0
commit
ee1556bb9c
|
@ -1780,8 +1780,8 @@ function show_firewall {
|
||||||
echo $"Firewall Settings"
|
echo $"Firewall Settings"
|
||||||
echo ''
|
echo ''
|
||||||
while read -r line; do
|
while read -r line; do
|
||||||
firewall_name=$(awk "$line" -F '=' '{print $1}')
|
firewall_name=$(echo "$line" | awk -F '=' '{print $1}')
|
||||||
firewall_port=$(awk "$line" -F '=' '{print $2}')
|
firewall_port=$(echo "$line" | awk -F '=' '{print $2}')
|
||||||
echo -n -e "$(pad_string "${firewall_name}")"
|
echo -n -e "$(pad_string "${firewall_name}")"
|
||||||
echo "${firewall_port}"
|
echo "${firewall_port}"
|
||||||
done < "$FIREWALL_CONFIG"
|
done < "$FIREWALL_CONFIG"
|
||||||
|
|
Loading…
Reference in New Issue