4 lines
170 B
Bash
4 lines
170 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
sed -i "s|\(^\s\+<smtp smtpServer=\"host\" smtpPort=\"25\" smtpSendFrom=\).*|\1\"${EMAIL}\" smtpUser=\"\" smtpPassword=\"\"/>|" /srv/seeddms/conf/settings.xml
|