Subversion Repositories ALCASAR

Rev

Rev 1876 | Rev 1893 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 1876 Rev 1877
Line 1... Line 1...
1
#!/bin/bash
1
#!/bin/bash
2
#  $Id: alcasar.sh 1876 2016-05-06 16:14:56Z raphael.pion $ 
2
#  $Id: alcasar.sh 1877 2016-05-06 17:02:20Z raphael.pion $ 
3
 
3
 
4
# alcasar.sh
4
# alcasar.sh
5
 
5
 
6
# ALCASAR Install script -  CopyLeft ALCASAR Team [Rexy + 3abtux + Steweb + Crox + ...] 
6
# ALCASAR Install script -  CopyLeft ALCASAR Team [Rexy + 3abtux + Steweb + Crox + ...] 
7
# Ce programme est un logiciel libre ; This software is free and open source
7
# Ce programme est un logiciel libre ; This software is free and open source
Line 1711... Line 1711...
1711
	cat << EOF > /etc/cron.d/alcasar-update_cat
1711
	cat << EOF > /etc/cron.d/alcasar-update_cat
1712
# activation de la mise a jour des categories. Si le fichier /usr/local/etc/update_cat.conf est vide. On ne met pas à jour.
1712
# activation de la mise a jour des categories. Si le fichier /usr/local/etc/update_cat.conf est vide. On ne met pas à jour.
1713
0 */12 * * * root /usr/local/bin/alcasar-bl.sh --update_cat > /dev/null 2>&1
1713
0 */12 * * * root /usr/local/bin/alcasar-bl.sh --update_cat > /dev/null 2>&1
1714
EOF
1714
EOF
1715
 
1715
 
1716
chmod 644 /etc/cron.d/alcasar-update-cat
1716
chmod 644 /etc/cron.d/alcasar-update_cat
1717
 
1717
 
1718
# removing the users crons
1718
# removing the users crons
1719
	rm -f /var/spool/cron/*
1719
	rm -f /var/spool/cron/*
1720
} # End cron
1720
} # End cron
1721
 
1721