Browse Source

Added ts3 license

pull/1811/head
UltimateByte 7 years ago
committed by GitHub
parent
commit
f45e765b1c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      lgsm/functions/command_start.sh

8
lgsm/functions/command_start.sh

@ -38,6 +38,14 @@ fn_start_teamspeak3(){
fi
# Create lockfile
date > "${rootdir}/${lockselfname}"
# Accept license
if [ ! -f "${executabledir}/.ts3server_license_accepted" ]; then
fn_script_log "Creating License acceptation file, which means you accept TeamSpeak License if you keep using it"
fn_print_info_nl "Creating License acceptation file, which means you accept TeamSpeak License if you keep using it"
fn_print_info_nl " * You can review the TeamSpeak License in ${executabledir}/LICENSE"
sleep 3
touch "${executabledir}/.ts3server_license_accepted"
fi
cd "${executabledir}"
if [ "${ts3serverpass}" == "1" ]; then
./ts3server_startscript.sh start serveradmin_password="${newpassword}" inifile="${servercfgfullpath}" > /dev/null 2>&1

Loading…
Cancel
Save