Don't need to remove mumble firewall if it was not installed
This commit is contained in:
parent
047d666531
commit
de1842e553
|
@ -143,10 +143,12 @@ function remove_mumble {
|
|||
fi
|
||||
fi
|
||||
apt-get -y remove --purge mumble-server
|
||||
iptables -D INPUT -p udp --dport $VOIP_PORT -j ACCEPT
|
||||
iptables -D INPUT -p tcp --dport $VOIP_PORT -j ACCEPT
|
||||
function_check save_firewall_settings
|
||||
save_firewall_settings
|
||||
if [[ $ONION_ONLY == "no" ]]; then
|
||||
iptables -D INPUT -p udp --dport $VOIP_PORT -j ACCEPT
|
||||
iptables -D INPUT -p tcp --dport $VOIP_PORT -j ACCEPT
|
||||
function_check save_firewall_settings
|
||||
save_firewall_settings
|
||||
fi
|
||||
if [ -f /etc/mumble-server.ini ]; then
|
||||
rm /etc/mumble-server.ini
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue