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
|
||||||
fi
|
fi
|
||||||
apt-get -y remove --purge mumble-server
|
apt-get -y remove --purge mumble-server
|
||||||
|
if [[ $ONION_ONLY == "no" ]]; then
|
||||||
iptables -D INPUT -p udp --dport $VOIP_PORT -j ACCEPT
|
iptables -D INPUT -p udp --dport $VOIP_PORT -j ACCEPT
|
||||||
iptables -D INPUT -p tcp --dport $VOIP_PORT -j ACCEPT
|
iptables -D INPUT -p tcp --dport $VOIP_PORT -j ACCEPT
|
||||||
function_check save_firewall_settings
|
function_check save_firewall_settings
|
||||||
save_firewall_settings
|
save_firewall_settings
|
||||||
|
fi
|
||||||
if [ -f /etc/mumble-server.ini ]; then
|
if [ -f /etc/mumble-server.ini ]; then
|
||||||
rm /etc/mumble-server.ini
|
rm /etc/mumble-server.ini
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue