diff --git a/Mumble/mumbleserver b/Mumble/mumbleserver index 5f30b6fa8..fe8dfbb45 100644 --- a/Mumble/mumbleserver +++ b/Mumble/mumbleserver @@ -43,6 +43,13 @@ servercfg="murmur.ini" servercfgdir="${filesdir}" servercfgfullpath="${servercfgdir}/${servercfg}" backupdir="${rootdir}/backups" +if [ -f "${servercfgfullpath}" ]; then + port=$(cat "${servercfgfullpath}" | grep 'port=' | awk -F'=' '{ print $2 }') + servername="Mumble Port ${port}" +else + port="UNKNOWN" + servername="Mumble" +fi # Logging logdays="7"