Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 1758 → Rev 1759

/alcasar.sh
740,7 → 740,9
</html>
EOF
# Définition du premier compte lié au profil 'admin'
if [ "$mode" = "install" ]
 
# !! remove when > V2.9.2 (we need to create new accounts)
# if [ "$mode" = "install" ]
then
header_install
admin_portal=!
775,7 → 777,9
/usr/bin/htdigest -c $DIR_DEST_ETC/digest/key_admin "ALCASAR Control Center (ACC)" $admin_portal
done
$DIR_DEST_SBIN/alcasar-profil.sh --list
fi
# !! remove if > V2.9.2
# fi
 
# synchronisation horaire
ntpd -q -g &
# Sécurisation du centre
/scripts/alcasar-conf.sh
152,7 → 152,7
# modifications added with this version (2.9.2)
# add "HOSTNAME=" in alcasar.conf
hostname_defined=`grep ^HOSTNAME= $CONF_FILE|wc -l`
if [ $hostname_define = "0" ]
if [ $hostname_defined = "0" ]
then
$SED "/^DOMAIN=/iHOSTNAME=alcasar" $CONF_FILE
fi