Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 2191 → Rev 2192

/alcasar.sh
196,12 → 196,12
then
echo "La mise à jour automatique d'ALCASAR ne peut pas être réalisée."
echo "1 - Effectuez une sauvegarde des fichiers de traçabilité et de la base des usagers via l'ACC"
echo "2 - Installez Linux-Mageia 5 et ALCASAR (cf. doc d'installation)"
echo "2 - Installez Linux-Mageia 5.1-64bits et ALCASAR (cf. doc d'installation)"
echo "3 - Importez votre base des usagers"
else
echo "The automatic update of ALCASAR can't be performed."
echo "1 - Save your traceability files and the user database"
echo "2 - Install Linux-Mageia 5 & ALCASAR (cf. installation doc)"
echo "2 - Install Linux-Mageia 5.1-64bits & ALCASAR (cf. installation doc)"
echo "3 - Import your users database"
fi
else
215,9 → 215,9
echo
if [ $Lang == "fr" ]
then
echo "Le système d'exploitation doit être remplacé (Mageia5)"
echo "Le système d'exploitation doit être remplacé (Mageia5.1-64bits)"
else
echo "The OS must be replaced (Mageia5)"
echo "The OS must be replaced (Mageia5.1-64bits)"
fi
exit 0
fi
1989,7 → 1989,7
# GRUB modifications (only one time)
# limit wait time to 3s
# create an alcasar entry instead of linux-nonfb
# change display to 1024*768 (vga791)
# change display to 1024*768 (vga791) only if not on VM
grub_already_modified=`grep ALCASAR /boot/grub/menu.lst|wc -l`
if [ $grub_already_modified == 0 ]
then
1998,7 → 1998,7
$SED "/^kernel/s/splash quiet //" /boot/grub/menu.lst
# is an virtual machine (proxmox, vmware, ) ?
vm_vga=`lsmod | egrep "virtio|vmwgfx" | wc -l`
if [ $vm_mga == 0 ]
if [ $vm_vga == 0 ]
then
$SED "/^kernel/s/$/ vga=791/" /boot/grub/menu.lst
fi