/[clonezilla-sysresccd]/trunk/create-clonezilla-sysresccd/files/isofiles/pack-them
ViewVC logotype

Annotation of /trunk/create-clonezilla-sysresccd/files/isofiles/pack-them

Parent Directory Parent Directory | Revision Log Revision Log


Revision 48 - (hide annotations)
Thu May 20 12:38:55 2010 UTC (13 years, 10 months ago) by sng
File size: 1543 byte(s)
- adding isofiles directory
- fixing license info on scripts

1 sng 48 #!/bin/bash
2     ##############################################################################
3     #
4     # pack-them, (C) 2007-2010 S. Georgaras <sng@hellug.gr>
5     #
6     # This file is part of Clonezilla-SysRescCD.
7     #
8     # Clonezilla-SysRescCD is free software: you can redistribute it and/or modify
9     # it under the terms of the GNU General Public License as published by
10     # the Free Software Foundation, either version 2 of the License, or
11     # (at your option) any later version.
12     #
13     # Clonezilla-SysRescCD is distributed in the hope that it will be useful,
14     # but WITHOUT ANY WARRANTY; without even the implied warranty of
15     # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16     # GNU General Public License for more details.
17     #
18     # You should have received a copy of the GNU General Public License
19     # along with Clonezilla-SysRescCD. If not, see <http://www.gnu.org/licenses/>.
20     #
21     ##############################################################################
22    
23     echo -n "Packing menu isolinux files... "
24     cd /all-users/liveCDs/multicd-dev/isofiles
25     mkdir forCD
26     cp -L *cfg forCD
27     cd forCD
28     mkdir isolinux
29     cp -L *cfg isolinux
30     cd isolinux
31     for n in *.cfg;do
32     sed 's|isolinux.cfg|syslinux.cfg|' $n > ../$n
33     done
34     sed 's|hd1|hd2|' isolinux.cfg | sed 's|hd0|hd1|' | sed 's|isolinux.cfg|syslinux.cfg|' > ../syslinux.cfg
35     sed 's|initrd=initram.igz|initrd=initram.igz scandelay=5|' sysresc.cfg | sed 's|isolinux.cfg|syslinux.cfg|' > ../sysresc.cfg
36     cd ..
37     rm isolinux.cfg
38     rm ../menu-iso.tar.gz 2>/dev/null
39     tar czhf ../menu-iso.tar.gz *cfg isolinux/*cfg
40     cd ..
41     rm -rf forCD
42     echo 'done'

Properties

Name Value
svn:executable *

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26