From 81c9ccc4ee4d3da72615dbcf1bbd40bdb666ea5f Mon Sep 17 00:00:00 2001 From: Moul Date: Tue, 23 May 2017 11:48:11 +0200 Subject: [PATCH] [mod] remove: enhance reading: break lines, comments. --- scripts/remove | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/scripts/remove b/scripts/remove index 6496857..81d3f83 100644 --- a/scripts/remove +++ b/scripts/remove @@ -1,14 +1,18 @@ #!/bin/bash app=mumbleserver -#getting port used by mumble to close it + +# Getting port used by mumble to close it port=$(sudo yunohost app setting $app port) -#uninstall mumble and its dependencies + +# Uninstall mumble and its dependencies sudo apt-get autoremove -y mumble-server > /dev/null 2>&1 -#close ports + +# 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 + +# Removing config file sudo rm -f /etc/mumble-server.ini # Remove mumble-server service