Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 1251 → Rev 1252

/scripts/alcasar-conf.sh
88,7 → 88,7
# si version <= 2.8
if [ $MAJ_RUNNING_VERSION -lt 2 ] || ([ $MAJ_RUNNING_VERSION -eq 2 ] && [ $MIN_RUNNING_VERSION -lt 8 ])
then
rm -rf $DIR_UPDATE/etc/digest # hostname=alcasar.$DOMAIN (add the domain name)
$SED "s?alcasar?alcasar.$DOMAIN?g" $DIR_UPDATE/etc/digest/* # add the domainname to the hostname
else
# si version > 2.8 : sauvegarde des certificats (serveur et CA)
cert_date=`/usr/bin/openssl x509 -noout -in /etc/pki/tls/certs/alcasar.crt -dates|grep After|cut -d"=" -f2`