Chiusura porta ping ipcop

Oggi facendo un test online mi sono accorto di avere la porta ping di ipcop aperta, allora ho cercato qualche informazione per chiuderla ed ho trovato che si potrebbe modificare nel file /etc/rc.d/rc.firewall questo codice:
con questo:
Il problema è che guardandolo quell'istruzione "fi" non capisco cosa sia, dite che è un if o è giusto scritto cosi?
- Codice: Seleziona tutto
# Allow ICMP echo-request (ping), all other essential ICMP will be
# ESTABLISHED or RELATED, and the rest caught by the default DENY policy
/sbin/iptables -A INPUT -p icmp --icmp-type 8 -j ACCEPT
con questo:
- Codice: Seleziona tutto
# Allow ICMP echo-request (ping), all other essential ICMP will be
# ESTABLISHED or RELATED, and the rest caught by the default DENY policy
if [ "$IFACE" != "" ]; then
# RED PING
/sbin/iptables -A INPUT -p icmp --icmp-type 8 -i $IFACE -j DROP
fi
/sbin/iptables -A INPUT -p icmp --icmp-type 8 -j ACCEPT
Il problema è che guardandolo quell'istruzione "fi" non capisco cosa sia, dite che è un if o è giusto scritto cosi?