/[clonezilla-sysresccd]/trunk/create-clonezilla-sysresccd/files/prerun.normal
ViewVC logotype

Diff of /trunk/create-clonezilla-sysresccd/files/prerun.normal

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 47 by sng, Thu May 20 12:12:53 2010 UTC revision 64 by sng, Fri May 28 09:47:17 2010 UTC
# Line 1  Line 1 
1  #!/bin/sh  #!/bin/sh
2    ##############################################################################
3    #                                                                            #
4    # prerun.normal, (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      #
9    # modify it under the terms of the GNU General Public License as published   #
10    # by 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 along    #
19    # with Clonezilla-SysRescCD. If not, see <http://www.gnu.org/licenses/>.     #
20    #                                                                            #
21    ##############################################################################
22    
23  setterm -foreground yellow  setterm -foreground yellow
24  echo '  echo '
25  ##########################################'  ##########################################'
# Line 20  setterm -foreground green;echo 'done';se Line 41  setterm -foreground green;echo 'done';se
41  # replace /live/image/restorecd with $restorecdFiles  # replace /live/image/restorecd with $restorecdFiles
42  #  #
43  echo -n "  Copying new scripts...   "  echo -n "  Copying new scripts...   "
44  for script in  what-cd continue-multi-cd reloc-img imginfo imgconvert sbminst;do  for script in  what-cd patch-clonezilla-sysresccd continue-multi-cd reloc-img imginfo imgconvert sbminst;do
45    cp /live/image/restorecd/"$script" /usr/bin 2>/dev/null    cp /live/image/restorecd/"$script" /usr/bin 2>/dev/null
46    chmod +x /usr/bin/"$script" 2>/dev/null    chmod +x /usr/bin/"$script" 2>/dev/null
47  done  done

Legend:
Removed from v.47  
changed lines
  Added in v.64

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26