Subversion Repositories ALCASAR

Rev

Rev 59 | Rev 65 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log

Rev 59 Rev 60
Line 1... Line 1...
1
#!/bin/sh
1
#!/bin/sh
2
#  $Id: alcasar.sh 59 2010-04-05 21:19:42Z richard $ 
2
#  $Id: alcasar.sh 60 2010-04-07 21:08:15Z 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 1149... Line 1149...
1149
/etc/pki/*				root.apache	750
1149
/etc/pki/*				root.apache	750
1150
EOF
1150
EOF
1151
	/usr/sbin/msec
1151
	/usr/sbin/msec
1152
# modification /etc/inittab
1152
# modification /etc/inittab
1153
	[ -e /etc/inittab.default ] || cp /etc/inittab /etc/inittab.default
1153
	[ -e /etc/inittab.default ] || cp /etc/inittab /etc/inittab.default
1154
# On supprime l'interception du "ctrl + alt + del" et on ne garde que 3 terminaux
-
 
1155
	$SED "s?^ca.*?#&?g" /etc/inittab
1154
# On ne garde que 3 terminaux
1156
	$SED "s?^4.*?#&?g" /etc/inittab
1155
	$SED "s?^4.*?#&?g" /etc/inittab
1157
	$SED "s?^5.*?#&?g" /etc/inittab
1156
	$SED "s?^5.*?#&?g" /etc/inittab
1158
	$SED "s?^6.*?#&?g" /etc/inittab
1157
	$SED "s?^6.*?#&?g" /etc/inittab
1159
# on charge la conf d'un version précédente
1158
# on charge la conf d'un version précédente
1160
if [ "$mode" = "update" ]
1159
if [ "$mode" = "update" ]