/[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 175 by sng, Fri Aug 13 14:09:29 2010 UTC revision 176 by sng, Tue May 31 19:45:21 2011 UTC
# Line 20  Line 20 
20  # with Clonezilla-SysRescCD. If not, see <http://www.gnu.org/licenses/>.     #  # with Clonezilla-SysRescCD. If not, see <http://www.gnu.org/licenses/>.     #
21  #                                                                            #  #                                                                            #
22  ##############################################################################  ##############################################################################
23    if [ -e /root/.prerunExecuted ];then
24      # This has to be executed only once
25      exit
26    fi
27    touch /root/.prerunExecuted
28  setterm -foreground yellow  setterm -foreground yellow
29  echo '  echo '
30  ##########################################'  ##########################################'
# Line 52  cp /live/image/restorecd/cust-menu /opt/ Line 56  cp /live/image/restorecd/cust-menu /opt/
56  chmod +x opt/drbl/sbin/ocs-iso  chmod +x opt/drbl/sbin/ocs-iso
57  chmod +x opt/drbl/sbin/cust-menu  chmod +x opt/drbl/sbin/cust-menu
58  # add cust-menu execution command to zip file creation script  # add cust-menu execution command to zip file creation script
59  sed '/echo "Packing the output file $output_filename..."/i\  sed '/^cust-menu -z -publisher/d' /opt/drbl/sbin/ocs-live-dev | sed '/echo "Packing the output file $output_filename..."/i\
60  cust-menu -z -publisher "DRBL/Clonezilla http://drbl.name http://clonezilla.org" -z -V "$iso_label_tag" "$ORIGINAL_INSERT_MODE"' /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  cust-menu -z -publisher "DRBL/Clonezilla http://drbl.name http://clonezilla.org" -V "$iso_label_tag" "$ORIGINAL_INSERT_MODE"' > /opt/drbl/sbin/ocs-live-dev.tmp && mv /opt/drbl/sbin/ocs-live-dev.tmp /opt/drbl/sbin/ocs-live-dev
61  chmod +x  /opt/drbl/sbin/ocs-live-dev  chmod +x  /opt/drbl/sbin/ocs-live-dev
62  setterm -foreground green;echo 'done';setterm -foreground white  setterm -foreground green;echo 'done';setterm -foreground white
63    

Legend:
Removed from v.175  
changed lines
  Added in v.176

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26