Magellan Linux

Diff of /trunk/installer-simple/bin/installer.sh.in

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

revision 2437 by niro, Tue Jan 7 14:28:13 2014 UTC revision 2438 by niro, Tue Jan 7 14:30:19 2014 UTC
# Line 642  is_uuid_supported() Line 642  is_uuid_supported()
642   return 1   return 1
643  }  }
644    
 get_uuid()  
 {  
  local UUID  
  local SEC_TYPE  
  local TYPE  
   
  local dev="$1"  
  [[ -z ${dev} ]] && dialog_die "no dev given"  
   
  # check if given device is already an UUID  
  if [[ ${dev/UUID=/}x != ${dev}x ]]  
  then  
  eval "${dev}"  
  else  
  eval $(busybox.mkinitrd blkid ${dev} | grep "${dev}:" | sed 's/.*:\ //')  
  fi  
  echo "${UUID}"  
 }  
   
645  install_system_settings()  install_system_settings()
646  {  {
647   # schreibe fstab   # schreibe fstab

Legend:
Removed from v.2437  
changed lines
  Added in v.2438