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