correction bug entête message
This commit is contained in:
parent
a39315e9db
commit
d8223ad28f
@ -14,7 +14,7 @@ if [ "$1" = "mensuelle" ]; then
|
||||
REP=$1
|
||||
fi
|
||||
|
||||
MSG='Content-Type: text/plain ;charset="utf-8"\nContent-Transfer-Econding: 8bit\n\n'
|
||||
MSG='Content-Type: text/plain ;charset="utf-8"\n\rContent-Transfer-Econding: 8bit\n\r\n'
|
||||
DDIR="dtux.ddns.net::save/serveur_lalis/$REP"
|
||||
SDIRX=("/mnt/lalis" "/var/www" "/etc" "/var/lib/mysql" "/var/lib/tftpboot" "/usr/local/bin" "/mnt/nextcloud_data")
|
||||
#SDIRX=("/var/www" "/etc" "/var/lib/mysql" "/var/lib/tftpboot" "/usr/local/bin")
|
||||
@ -54,9 +54,9 @@ for SDIR in ${SDIRX[*]}; do
|
||||
fi
|
||||
done
|
||||
if [ $FLAG -eq 1 ]; then
|
||||
OBJ="Subject: [LALISNO] Problème lors de la sauvegarde\n"
|
||||
OBJ="Subject: [LALISNO] Problème lors de la sauvegarde\n\r"
|
||||
else
|
||||
OBJ="Subject: [LALISOK] Sauvegarde réussie\n"
|
||||
OBJ="Subject: [LALISOK] Sauvegarde réussie\n\r"
|
||||
fi
|
||||
|
||||
printf "$OBJ\n$MSG" | sendmail -f contact@lalis.fr contact@lalis.fr
|
||||
printf "$OBJ$MSG" | sendmail -f contact@lalis.fr contact@lalis.fr
|
||||
|
Reference in New Issue
Block a user