/[clonezilla-sysresccd]/trunk/create-clonezilla-sysresccd/files/cust-menu
ViewVC logotype

Diff of /trunk/create-clonezilla-sysresccd/files/cust-menu

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

revision 133 by sng, Fri Aug 13 14:09:29 2010 UTC revision 134 by sng, Fri Sep 24 12:58:07 2010 UTC
# Line 74  s|ocs_lang=\"[^\"]*\"|ocs_lang=\"$ocs_la Line 74  s|ocs_lang=\"[^\"]*\"|ocs_lang=\"$ocs_la
74  }  }
75    
76  function copy_PNG_SYSLINUX(){  function copy_PNG_SYSLINUX(){
77      local targetPNG=/restorecd/ocswp.png
78      if [ -n "$bootImg" ];then targetPNG="$bootImg";fi
79    SYSLINUX_FILE=`echo $finalCFG | sed 's{isolinux{syslinux{g'`    SYSLINUX_FILE=`echo $finalCFG | sed 's{isolinux{syslinux{g'`
80    SYS=`dirname $finalCFG`    SYS=`dirname $finalCFG`
81    sed 's{noprompt {{g' $finalCFG > $SYSLINUX_FILE    sed 's{noprompt {{g' $finalCFG > $SYSLINUX_FILE
82    cp /restorecd/ocswp.png $SYS    cp "$targetPNG" $SYS
83    cp /restorecd/ocswp.png `echo $SYS | sed 's{isolinux{syslinux{g'`    cp "$targetPNG" `echo $SYS | sed 's{isolinux{syslinux{g'`
84  }  }
85    
86    
# Line 314  if [ -n "$defItem" ];then Line 316  if [ -n "$defItem" ];then
316  fi  fi
317    
318    
319  if [ -n "$bootImage" ] && [ -e "$bootImage" ] ;then  if [ -n "$bootImage" ];then
320          bootImg="$bootImage"    if [ -e "$bootImage" ] || [ -e /home/partimag/"$bootImage" ] ;then
321            bootImg="$bootImage"
322      fi
323  fi  fi
324    
   
325  fi  fi
326    
327  copy_PNG_SYSLINUX  copy_PNG_SYSLINUX

Legend:
Removed from v.133  
changed lines
  Added in v.134

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26