From 32c3d6fe9f42df5f8b6407e4b63e589021e4e0fe Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 28 Oct 2016 12:07:19 +0100 Subject: [PATCH] Remove mumble entries from the readme --- src/freedombone-app-mumble | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/freedombone-app-mumble b/src/freedombone-app-mumble index 8f149ba3..d60887ff 100755 --- a/src/freedombone-app-mumble +++ b/src/freedombone-app-mumble @@ -167,6 +167,7 @@ function remove_mumble { function_check remove_onion_service remove_onion_service mumble ${MUMBLE_PORT} sed -i '/mumble/d' $COMPLETION_FILE + sed -i '/Mumble/d' /home/$MY_USERNAME/README } function get_mumble_server_password { @@ -263,13 +264,10 @@ function install_mumble { if ! grep -q $"Mumble Server" /home/$MY_USERNAME/README; then echo '' >> /home/$MY_USERNAME/README echo '' >> /home/$MY_USERNAME/README - echo $'Mumble Server' >> /home/$MY_USERNAME/README - echo '=============' >> /home/$MY_USERNAME/README + echo $'# Mumble Server' >> /home/$MY_USERNAME/README echo $"Mumble onion domain:$MUMBLE_ONION_HOSTNAME" >> /home/$MY_USERNAME/README echo $'Mumble server username: mumble-server' >> /home/$MY_USERNAME/README echo $"Mumble server password: $MUMBLE_SERVER_PASSWORD" >> /home/$MY_USERNAME/README - echo '' >> /home/$MY_USERNAME/README - echo $'To connect to the Mumble server use your username and the server password shown above.' >> /home/$MY_USERNAME/README chown $MY_USERNAME:$MY_USERNAME /home/$MY_USERNAME/README chmod 600 /home/$MY_USERNAME/README fi