then
cp -f "${CUSTOMDIR}/oils_sip.xml" "${TMPFOLDER}"
#sed -i "/<\/listeners>/a \\\t<\!-- One or more Memecache servers are required for Mulitplex mode. -->\n\t<\!-- Cache server(s) are ignored in non-Multiplex mode -->\n\t<cache>\n\t\ \<server>$MEMCACHE01_IP:11211</server>\n\t\ \<server>$MEMCACHE02_IP:11211</server>\n\t</cache>" "${TMPFOLDER}/oils_sip.xml"
- sed -i "/<server>/d" $SIP_XML
- sed -i "/<cache>/a \\\t<server>$MEMCACHE01_IP:11211</server>\n\t<server>$MEMCACHE02_IP:11211</server>" "$SIP_XML"
+ sed -i "/<server>/d" "${TMPFOLDER}/oils_sip.xml"
+ sed -i "/<cache>/a \\\t<server>$MEMCACHE01_IP:11211</server>\n\t<server>$MEMCACHE02_IP:11211</server>" "${TMPFOLDER}/oils_sip.xml"
else
echo
echo -e ${COL_RED} "WARNING!!" ${COL_RESET} ${COL_GREEN} "oils_sip.xml" ${COL_RESET} "was not found in ${CUSTOMDIR}"