Subversion Repositories ALCASAR

Rev

Rev 672 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 672 Rev 749
Line 1... Line 1...
1
#!/bin/bash
1
#!/bin/bash
2
# $Id: alcasar-mondo.sh 672 2011-07-08 15:34:22Z richard $
2
# $Id: alcasar-mondo.sh 749 2011-10-20 16:49:59Z franck $
3
 
3
 
4
# alcasar-mondo.sh
4
# alcasar-mondo.sh
5
# by Franck BOUIJOUX and Michel GAUDET
5
# by Franck BOUIJOUX and Michel GAUDET
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 23... Line 23...
23
echo ""
23
echo ""
24
echo "--------------------------------------------------------"
24
echo "--------------------------------------------------------"
25
echo "Les ISOs seront disponibles dans le répertoire suivant :"
25
echo "Les ISOs seront disponibles dans le répertoire suivant :"
26
echo "==-->   $DIR_ISO"
26
echo "==-->   $DIR_ISO"
27
/bin/touch $DIR_ISO/creation-of-the-current-archive
27
/bin/touch $DIR_ISO/creation-of-the-current-archive
28
mkdir $DIR_TMP
28
mkdir -p $DIR_TMP
29
/bin/nice -n 19 /usr/sbin/mondoarchive -p $ISOFile -Oi -s 4300m -d $DIR_ISO -T $DIR_TMP -S $DIR_TMP -E "$EXCLUDE"
29
/bin/nice -n 19 /usr/sbin/mondoarchive -p $ISOFile -Oi -s 4300m -d $DIR_ISO -T $DIR_TMP -S $DIR_TMP -E "$EXCLUDE"
30
 
30
 
31
cd $DIR_ISO
31
cd $DIR_ISO
32
for i in `ls $ISOFile*.iso` ;do
32
for i in `ls $ISOFile*.iso` ;do
33
        /usr/bin/md5sum $i.iso > $i.iso.md5
33
        /usr/bin/md5sum $i.iso > $i.iso.md5