mirror of
https://github.com/YunoHost-Apps/mumbleserver_ynh.git
synced 2024-09-03 19:46:03 +02:00
[mod] remove: use apt, 'firewall disallow' alreay does it for IP6.
This commit is contained in:
parent
244b440fc9
commit
80f7ac5733
1 changed files with 2 additions and 3 deletions
|
@ -11,12 +11,11 @@ app=mumbleserver
|
|||
# Getting port used by mumble to close it
|
||||
port=$(ynh_app_setting_get $app port)
|
||||
|
||||
# Uninstall mumble and its dependencies
|
||||
sudo apt-get autoremove -y mumble-server > /dev/null 2>&1
|
||||
# Uninstall Mumble and its dependencies
|
||||
sudo apt autoremove -y mumble-server > /dev/null 2>&1
|
||||
|
||||
# Close ports
|
||||
sudo yunohost firewall disallow Both $port > /dev/null 2>&1
|
||||
sudo yunohost firewall disallow --ipv6 Both $port > /dev/null 2>&1
|
||||
|
||||
# Removing config file
|
||||
sudo rm -f /etc/mumble-server.ini
|
||||
|
|
Loading…
Add table
Reference in a new issue