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

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

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    
2  #!/bin/sh  #!/bin/sh
3    ##############################################################################
4    #                                                                            #
5    # prerun.toram, (C) 2007-2010 S. Georgaras <sng@hellug.gr>                   #
6    #                                                                            #
7    # This file is part of Clonezilla-SysRescCD.                                 #
8    #                                                                            #
9    # Clonezilla-SysRescCD is free software: you can redistribute it and/or      #
10    # modify it under the terms of the GNU General Public License as published   #
11    # by the Free Software Foundation, either version 2 of the License, or       #
12    # (at your option) any later version.                                        #
13    #                                                                            #
14    # Clonezilla-SysRescCD is distributed in the hope that it will be useful,    #
15    # but WITHOUT ANY WARRANTY; without even the implied warranty of             #
16    # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the              #
17    # GNU General Public License for more details.                               #
18    #                                                                            #
19    # You should have received a copy of the GNU General Public License along    #
20    # with Clonezilla-SysRescCD. If not, see <http://www.gnu.org/licenses/>.     #
21    #                                                                            #
22    ##############################################################################
23    
24  setterm -foreground yellow  setterm -foreground yellow
25  echo '  echo '
26  ##########################################'  ##########################################'
# Line 21  setterm -foreground green;echo 'done';se Line 43  setterm -foreground green;echo 'done';se
43  # replace /live/image/restorecd with $restorecdFiles  # replace /live/image/restorecd with $restorecdFiles
44  #  #
45  echo -n "  Copying new scripts...   "  echo -n "  Copying new scripts...   "
46  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
47    cp /live/image/restorecd/"$script" /usr/bin 2>/dev/null    cp /live/image/restorecd/"$script" /usr/bin 2>/dev/null
48    chmod +x /usr/bin/"$script" 2>/dev/null    chmod +x /usr/bin/"$script" 2>/dev/null
49  done  done
# Line 88  fi Line 110  fi
110  setterm -foreground green  setterm -foreground green
111  echo 'done  echo 'done
112  '  '
 setterm -foreground white  
113    setterm -foreground white

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

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26