1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mumbleserver_ynh.git synced 2024-09-03 19:46:03 +02:00

writes the root channel name

This commit is contained in:
matlink 2014-11-10 21:19:28 +01:00
parent 050cd91013
commit e051016038
2 changed files with 3 additions and 2 deletions

View file

@ -31,7 +31,7 @@ sudo apt-get install -y mumble-server > /dev/null 2>&1
sudo sed -i "s/welcometext=.*/welcometext=$welcometext/g" $mumble_conf sudo sed -i "s/welcometext=.*/welcometext=$welcometext/g" $mumble_conf
sudo sed -i "s/port=.*/port=$port/g" $mumble_conf sudo sed -i "s/port=.*/port=$port/g" $mumble_conf
sudo sed -i "s/serverpassword=.*/serverpassword=$server_password/g" $mumble_conf sudo sed -i "s/serverpassword=.*/serverpassword=$server_password/g" $mumble_conf
sudo sed -i "s/*registerName=.*/registerName=$registerName/g" $mumble_conf sudo sed -i "s/#registerName=.*/registerName=$registerName/g" $mumble_conf
#open port in firewall #open port in firewall
sudo yunohost firewall allow Both $port > /dev/null 2>&1 sudo yunohost firewall allow Both $port > /dev/null 2>&1

View file

@ -4,3 +4,4 @@ app=mumbleserver
port=$(sudo yunohost app setting $app port) port=$(sudo yunohost app setting $app port)
sudo apt-get autoremove -y mumble-server > /dev/null 2>&1 sudo apt-get autoremove -y mumble-server > /dev/null 2>&1
sudo yunohost firewall disallow Both $port > /dev/null 2>&1 sudo yunohost firewall disallow Both $port > /dev/null 2>&1
sudo rm -f /etc/mumble-server.ini