[ Index ] |
PHP Cross Reference of Unnamed Project |
[Summary view] [Print] [Text view]
1 #!/bin/bash 2 3 ## $Id: maj143.sh 7589 2013-01-06 01:11:10Z keyser $ ## 4 5 # path fichier de logs 6 LOG_DIR="/var/log/se3" 7 HISTORIQUE_MAJ="$LOG_DIR/historique_maj" 8 REPORT_FILE="$LOG_DIR/log_maj143" 9 #mode debug on si =1 10 [ -e /root/debug ] && DEBUG="1" 11 # [ -e /usr/share/se3/scripts/update_droits_xml.sh ] && /usr/share/se3/scripts/update_droits_xml.sh 12 #date 13 LADATE=$(date +%d-%m-%Y) 14 15 echo "Mise a jour 143 : 16 - Ajout droit fond ecran si module actif 17 - Ajout acl annuaire" >> $HISTORIQUE_MAJ 18 19 if [ "$menu_fond_ecran" == "1" ]; then 20 echo "dn: cn=fond_can_change,$rightsRdn},$ldap_base_dn} 21 objectClass: groupOfNames 22 cn: fond_can_change 23 member: uid=admin,$peopleRdn},$ldap_base_dn} 24 " | ldapadd -x -D $adminRdn},$ldap_base_dn} -w $adminPw} 25 26 mkdir -p /var/www/se3/Admin/fonds_ecran/courant 27 chown www-se3 /var/www/se3/Admin/fonds_ecran/courant 28 29 mkdir -p /var/lib/se3/fonds_ecran 30 chown www-se3 /var/lib/se3/fonds_ecran 31 fi 32 33 34 /usr/share/se3/scripts/mkSlapdConf.sh 35 36 37 echo "Mise a jour 143 : 38 - Ajout droit fond ecran si module actif" 39 40 41 exit 0
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Tue Mar 17 22:47:18 2015 | Cross-referenced by PHPXref 0.7.1 |