Browse Source

Fixed IP for MTA server

pull/1354/head
Daniel Gibbs 8 years ago
parent
commit
b3c615f333
  1. 2
      lgsm/functions/info_config.sh

2
lgsm/functions/info_config.sh

@ -663,7 +663,7 @@ fn_info_config_mta(){
ase="Disabled"
fi
ip=$(grep -m 1 "serverip" "${servercfgfullpath}" | sed -e 's/^[ \t]*//g' -e '/^\//d' -e 's/<serverip>//g' | sed -e 's/^[ \t]*//' -e 's/[ \t]*$//' | cut -f1 -d "<" | tr -cd '[:digit:]')
ip=$(grep -m 1 "serverip" "${servercfgfullpath}" | sed -e 's/^[ \t]*//g' -e '/^\//d' -e 's/<serverip>//g' | sed -e 's/^[ \t]*//' -e 's/[ \t]*$//' | cut -f1 -d "<")
ipsetinconfig=1
ipinconfigvar="serverip"

Loading…
Cancel
Save