[BACK]Return to manage_pre CVS log [TXT][DIR] Up to [local] / palm / manage_pre

Diff for /palm/manage_pre/manage_pre between version 1.5 and 1.6

version 1.5, 2009/08/20 22:41:24 version 1.6, 2009/09/21 19:00:06
Line 72 
Line 72 
   
 synchronize() {  synchronize() {
     local _mounted=`is_mounted $_dev`      local _mounted=`is_mounted $_dev`
       local _did_mount=""
     if [ X"" == X"$_mounted" ]; then      if [ X"" == X"$_mounted" ]; then
         echo Not mounted          mount || exit 255
         return 1          _did_mount=1
     fi      fi
   
     echo Synchronizing Pre      echo Synchronizing Pre
Line 86 
Line 87 
   
     if [ -e /usr/local/bin/unison ]; then      if [ -e /usr/local/bin/unison ]; then
         /usr/local/bin/unison $_unison_config -auto -batch -ui text          /usr/local/bin/unison $_unison_config -auto -batch -ui text
       fi
   
       if [ ! -z "$_did_mount" ]; then
           eject
     fi      fi
 }  }
   

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>