/[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 175 by sng, Fri Aug 13 14:09:29 2010 UTC revision 176 by sng, Tue May 31 19:45:21 2011 UTC
# Line 19  Line 19 
19  # with Clonezilla-SysRescCD. If not, see <http://www.gnu.org/licenses/>.     #  # with Clonezilla-SysRescCD. If not, see <http://www.gnu.org/licenses/>.     #
20  #                                                                            #  #                                                                            #
21  ##############################################################################  ##############################################################################
22    if [ -e /root/.prerunExecuted ];then
23      # This has to be executed only once
24      exit
25    fi
26    touch /root/.prerunExecuted
27  setterm -foreground yellow  setterm -foreground yellow
28  echo '  echo '
29  ##########################################'  ##########################################'
# Line 50  cp /restorecd/cust-menu /opt/drbl/sbin Line 54  cp /restorecd/cust-menu /opt/drbl/sbin
54  chmod +x /opt/drbl/sbin/ocs-iso  chmod +x /opt/drbl/sbin/ocs-iso
55  chmod +x /opt/drbl/sbin/cust-menu  chmod +x /opt/drbl/sbin/cust-menu
56  # add cust-menu execution command to zip file creation script  # add cust-menu execution command to zip file creation script
57  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\
58  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 > /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
59  chmod +x  /opt/drbl/sbin/ocs-live-dev  chmod +x  /opt/drbl/sbin/ocs-live-dev
60  setterm -foreground green;echo 'done';setterm -foreground white  setterm -foreground green;echo 'done';setterm -foreground white
61    

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

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26