Subversion Repositories ALCASAR

Rev

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

Rev 520 Rev 522
Line 1... Line 1...
1
#!/bin/sh
1
#!/bin/sh
2
#  $Id: alcasar.sh 520 2011-03-27 20:55:05Z richard $ 
2
#  $Id: alcasar.sh 522 2011-03-29 20:00:46Z richard $ 
3
 
3
 
4
# alcasar.sh
4
# alcasar.sh
5
# by Franck BOUIJOUX, Pascal LEVANT and Richard REY
5
# by Franck BOUIJOUX, Pascal LEVANT and Richard REY
6
# This script is distributed under the Gnu General Public License (GPL)
6
# This script is distributed under the Gnu General Public License (GPL)
7
 
7
 
Line 1235... Line 1235...
1235
EOF
1235
EOF
1236
# activation du "chien de garde" (watchdog) toutes les 3'
1236
# activation du "chien de garde" (watchdog) toutes les 3'
1237
	cat << EOF > /etc/cron.d/watchdog
1237
	cat << EOF > /etc/cron.d/watchdog
1238
*/3 * * * * root $DIR_DEST_BIN/alcasar-watchdog.sh > /dev/null 2>&1
1238
*/3 * * * * root $DIR_DEST_BIN/alcasar-watchdog.sh > /dev/null 2>&1
1239
EOF
1239
EOF
-
 
1240
# suppression des crons usagers
-
 
1241
	rm -f /var/spool/cron/*
1240
} # End cron
1242
} # End cron
1241
 
1243
 
1242
##################################################################
1244
##################################################################
1243
##			Fonction post_install			##
1245
##			Fonction post_install			##
1244
## - Modification des bannières (locales et ssh) et des prompts ##
1246
## - Modification des bannières (locales et ssh) et des prompts ##