|
|
@@ -18,14 +18,18 @@ if [ "${gamename}" != "Teamspeak 3" ]; then
|
|
|
|
|
|
if [ "${ip}" == "0.0.0.0" ]||[ "${ip}" == "" ]; then
|
|
|
if [ "${getipwc}" -ge "2" ]; then
|
|
|
- fn_print_warn "Multiple active network interfaces found.\n\n"
|
|
|
+ fn_print_fatal "Multiple active network interfaces found.\n\n"
|
|
|
+ fn_script_log_fatal "Multiple active network interfaces found."
|
|
|
echo -en "Manually specify the IP you want to use within the ${selfname} script.\n"
|
|
|
echo -en "Set ip=\"0.0.0.0\" to one of the following:\n"
|
|
|
echo -en "${getip}\n"
|
|
|
echo -en ""
|
|
|
echo -en "https://gameservermanagers.com/network-interfaces\n"
|
|
|
echo -en ""
|
|
|
- exit 1
|
|
|
+ fn_script_log_fatal "Multiple active network interfaces found."
|
|
|
+ fn_script_log_fatal "Manually specify the IP you want to use within the ${selfname} script."
|
|
|
+ fn_script_log_fatal "https://gameservermanagers.com/network-interfaces\n"
|
|
|
+ core_exit.sh
|
|
|
else
|
|
|
ip=${getip}
|
|
|
fi
|