Browse Source

av ss

bug
pull/3428/head
Daniel Gibbs 4 years ago
parent
commit
a66882fb43
  1. 8
      lgsm/functions/info_messages.sh

8
lgsm/functions/info_messages.sh

@ -667,8 +667,12 @@ fn_info_message_ports(){
echo -e "${startparameterslocation}"
echo -e ""
echo -e "${lightblue}Useful port diagnostic command:${default}"
executableshort="$(echo "${executable//.\/}" | cut -c -15)"
echo -e "ss -tuplwn | grep ${executableshort}"
if [ "${shortname}" == "av" ]; then
echo -e "ss -tuplwn | grep AvorionServer"
else
executableshort="$(echo "${executable//.\/}" | cut -c -15)"
echo -e "ss -tuplwn | grep ${executableshort}"
fi
echo -e ""
}

Loading…
Cancel
Save