From 41633becc5829679292bdc54afcc0952ef9afe33 Mon Sep 17 00:00:00 2001 From: matlink Date: Mon, 10 Nov 2014 20:38:54 +0100 Subject: [PATCH] writing password into settings.yml and update readme --- README.md | 8 +++++++- manifest.json | 2 +- scripts/install | 2 ++ 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d6a69d7..ed3d3ae 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,10 @@ mumble_yunohost =============== -A yunohost compatible version of Mumble. +A yunohost compatible version of Mumble server (Murmur). This download it via the repository of debian and configures it with given settings. + +SETUP +====== +-install it via github +-get the SuperUser password in this file : /etc/yunohost/apps/mumbleserver/settings.yml +-do like said here : http://wiki.mumble.info/wiki/Murmurguide#Connecting_to_Murmur_Server \ No newline at end of file diff --git a/manifest.json b/manifest.json index 7853871..71f21c3 100644 --- a/manifest.json +++ b/manifest.json @@ -54,7 +54,7 @@ "fr": "Entrez un nom pour le channel racine" }, "example": "Root", - "default": "Root'" + "default": "Root" } diff --git a/scripts/install b/scripts/install index a6a7cf8..8c2739f 100644 --- a/scripts/install +++ b/scripts/install @@ -41,6 +41,8 @@ sudo sed -i "s/*serverpassword=.*/registerName=$registerName/g" $mumble_conf #generating random password for super-user su_passwd=$(dd if=/dev/urandom bs=1 count=200 2> /dev/null | tr -c -d '[A-Za-z0-9]' | sed -n 's/\(.\{24\}\).*/\1/p') +#save superuser password +sudo yunohost app setting $app superuser_password -v "$su_passwd" #open port in firewall sudo yunohost firewall allow Both $port > /dev/null 2>&1