Subversion Repositories ALCASAR

Rev

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

Rev 1173 Rev 1174
Line 1... Line 1...
1
#!/bin/bash
1
#!/bin/bash
2
#  $Id: alcasar.sh 1173 2013-08-20 21:11:41Z richard $ 
2
#  $Id: alcasar.sh 1174 2013-08-22 09:34:52Z crox53 $ 
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 96... Line 96...
96
	echo "                     ALCASAR V$VERSION Installation"
96
	echo "                     ALCASAR V$VERSION Installation"
97
	echo "Application Libre pour le Contrôle d'Accès Sécurisé et Authentifié au Réseau"
97
	echo "Application Libre pour le Contrôle d'Accès Sécurisé et Authentifié au Réseau"
98
	echo "-----------------------------------------------------------------------------"
98
	echo "-----------------------------------------------------------------------------"
99
} # End of header_install ()
99
} # End of header_install ()
100
 
100
 
-
 
101
#Launch network service (useful only when Mageia is running in SafeFail mode)
-
 
102
service network start
-
 
103
 
101
##################################################################
104
##################################################################
102
##			Function TESTING			##
105
##			Function TESTING			##
103
## - Test of Internet access					##
106
## - Test of Internet access					##
104
##################################################################
107
##################################################################
105
testing ()
108
testing ()
Line 1613... Line 1616...
1613
# create an alcasar entry instead of linux-nonfb
1616
# create an alcasar entry instead of linux-nonfb
1614
# change display to 1024*768 (vga791)
1617
# change display to 1024*768 (vga791)
1615
$SED "s?^timeout.*?timeout 3?g" /boot/grub/menu.lst
1618
$SED "s?^timeout.*?timeout 3?g" /boot/grub/menu.lst
1616
$SED "s?^title linux?title ALCASAR?g" /boot/grub/menu.lst
1619
$SED "s?^title linux?title ALCASAR?g" /boot/grub/menu.lst
1617
$SED "/^kernel/s/splash quiet //" /boot/grub/menu.lst
1620
$SED "/^kernel/s/splash quiet //" /boot/grub/menu.lst
1618
$SED "/^kernel/s/vga=.*/vga=791/" /boot/grub/menu.lst
1621
$SED "/^kernel/s/vga=.*/vga=791 nomodeset/" /boot/grub/menu.lst
1619
$SED "/^kernel/s/BOOT_IMAGE=linux /BOOT_IMAGE=linux-nonfb /" /boot/grub/menu.lst
1622
$SED "/^kernel/s/BOOT_IMAGE=linux /BOOT_IMAGE=linux-nonfb /" /boot/grub/menu.lst
1620
$SED "/^gfxmenu/d" /boot/grub/menu.lst
1623
$SED "/^gfxmenu/d" /boot/grub/menu.lst
1621
 
1624
 
1622
# Remove unused services and users
1625
# Remove unused services and users
1623
for old_svc in alsa sound dm
1626
for old_svc in alsa sound dm