8 lines
245 B
Bash
8 lines
245 B
Bash
#!/bin/sh
|
|
|
|
# Volumes
|
|
SEEDDMS_CONF="${VOLUMES_DIR}/seeddms/seeddms_conf"
|
|
|
|
# Replacements
|
|
sed -i "s|\(^\s\+<smtp smtpServer=\"host\" smtpPort=\"25\" smtpSendFrom=\).*|\1\"${EMAIL}\" smtpUser=\"\" smtpPassword=\"\"/>|" ${SEEDDMS_CONF}/settings.xml
|