Warning: fopen(http://www.developit.fr/FichePratique/SMEServer/sme2sme-freeswan-0.9-0.noarch.rpm) [function.fopen]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/jurastic/www/contribs/script.php on line 70

Warning: fopen(http://www.developit.fr/FichePratique/SMEServer/freeswan-1.99_x509_0.9.15_2.4.20_18.7-1.i386.rpm) [function.fopen]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/jurastic/www/contribs/script.php on line 70

Warning: fopen(http://www.developit.fr/FichePratique/SMEServer/freeswan-module-1.99_x509_0.9.15_2.4.20_18.7-1.i386.rpm) [function.fopen]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/jurastic/www/contribs/script.php on line 70
#!/bin/sh
JOURNAL=/opt/postinstalle/20241121.log
WGET=/usr/bin/wget
WGET_OPT=-q -nc -T 60 -Y off -C off -a $JOURNAL
echo DEBUT : `date '+%D %Hh%M:%S'`


#0
echo .:0:. CREATION DES REPERTOIRES .:.
mkdir -p /opt/postinstalle/vpn_ipsec

#1
echo .:1:. TELECHARGEMENT .:.
echo Vous pourrez consulter le journal des telechargements : /opt/postinstalle/20241121.log
cd /opt/postinstalle/vpn_ipsec
# Le fichier http://www.jurastick.fr/files/rpms/sme2sme-freeswan-0.9-0.noarch.rpm n'est pas disponible
# Le fichier http://www.jurastick.fr/files/rpms/freeswan-1.99_x509_0.9.15_2.4.20_18.7-1.i386.rpm n'est pas disponible
# Le fichier http://www.jurastick.fr/files/rpms/freeswan-module-1.99_x509_0.9.15_2.4.20_18.7-1.i386.rpm n'est pas disponible

#2
echo .:2:. INSTALLATION .:.
echo vpn_ipsec
cd /opt/postinstalle/vpn_ipsec
rpm -ivh freeswan-module-1.99_x509_0.9.15_2.4.20_18.7-1.i386.rpm
rpm -ivh freeswan-1.99_x509_0.9.15_2.4.20_18.7-1.i386.rpm
service ipsec start
/sbin/e-smith/console-save
rpm -ivh sme2sme-freeswan-0.9-0.noarch.rpm --nodeps

echo FIN : `date '+%D %Hh%M:%S'`
Fermer