/[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 64 by sng, Fri May 28 09:47:17 2010 UTC revision 84 by sng, Thu Jul 15 20:54:27 2010 UTC
# Line 38  setterm -foreground green;echo 'done';se Line 38  setterm -foreground green;echo 'done';se
38    
39    
40  #  #
41  # replace /live/image/restorecd with $restorecdFiles  # replace /restorecd with $restorecdFiles
42  #  #
43  echo -n "  Copying new scripts...   "  echo -n "  Copying new scripts...   "
44  for script in  what-cd patch-clonezilla-sysresccd 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 /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
48  cp /live/image/restorecd/ocs-iso /opt/drbl/sbin  cp /restorecd/ocs-iso /opt/drbl/sbin
49  cp /live/image/restorecd/cust-menu /opt/drbl/sbin  cp /restorecd/cust-menu /opt/drbl/sbin
50  chmod +x opt/drbl/sbin/ocs-iso  chmod +x /opt/drbl/sbin/ocs-iso
51  chmod +x opt/drbl/sbin/cust-menu  chmod +x /opt/drbl/sbin/cust-menu
52    # add cust-menu execution command to zip file creation script
53    sed '/echo "Packing the output file $output_filename..."/i\
54    cust-menu -publisher "DRBL/Clonezilla http://drbl.name http://clonezilla.org" -V "$iso_label_tag"' /opt/drbl/sbin/ocs-live-dev > /opt/drbl/sbin/ocs-live-dev.tmp && mv /opt/drbl/sbin/ocs-live-dev.tmp /opt/drbl/sbin/ocs-live-dev
55    chmod +x  /opt/drbl/sbin/ocs-live-dev
56  setterm -foreground green;echo 'done';setterm -foreground white  setterm -foreground green;echo 'done';setterm -foreground white
57    
58  setterm -foreground yellow  setterm -foreground yellow

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

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26