|  | @@ -7,7 +7,6 @@ BPC_FILES="/root/RDX_BackupPC/rdx_init.tar.gz"
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  init_rdx()
 | 
	
		
			
				|  |  |  {
 | 
	
		
			
				|  |  | -	/etc/init.d/crond stop
 | 
	
		
			
				|  |  |  	echo -e "[*] Unmounting RDX "
 | 
	
		
			
				|  |  |  	/bin/umount $RDX_PART 2>&1 || echo -e "[x] Error unmounting RDX partition"
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -17,7 +16,6 @@ init_rdx()
 | 
	
		
			
				|  |  |  	echo -e "[*] Creating ext4 filesystem... (this can take severals minutes)"
 | 
	
		
			
				|  |  |  	/sbin/mkfs.ext4 $RDX_PART 2>&1 || echo -e "[x] Error during mkfs.ext4"
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -	/etc/init.d/crond start
 | 
	
		
			
				|  |  |  	/sbin/partprobe $RDX_DEVICE
 | 
	
		
			
				|  |  |  	check_rdx
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -68,10 +66,13 @@ check_rdx()
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  if [ -e $BPC_DATAS_DIR/pool ]; then
 | 
	
		
			
				|  |  | +	echo -e "[*] Rien à faire"
 | 
	
		
			
				|  |  |  	exit 1
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  else
 | 
	
		
			
				|  |  | +	/etc/init.d/crond stop
 | 
	
		
			
				|  |  |  	check_rdx
 | 
	
		
			
				|  |  | +	/etc/init.d/crond start
 | 
	
		
			
				|  |  |  fi
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  
 |