Remove mumble entries from the readme

This commit is contained in:
Bob Mottram 2016-10-28 12:07:19 +01:00
parent 8a9b19a2aa
commit 32c3d6fe9f
1 changed files with 2 additions and 4 deletions

View File

@ -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