| 
				
			 | 
			
			
				@@ -593,12 +593,16 @@ function setup_amnesic_tox_data { 
			 | 
		
	
		
			
			| 
				593
			 | 
			
				593
			 | 
			
			
				 	fi 
			 | 
		
	
		
			
			| 
				594
			 | 
			
				594
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				595
			 | 
			
				595
			 | 
			
			
				 	# make a temporary password 
			 | 
		
	
		
			
			| 
				596
			 | 
			
				
			 | 
			
			
				-	TOMB_TOX_PASSWORD="$(openssl rand -base64 32 | cut -c1-30)" 
			 | 
		
	
		
			
			| 
				597
			 | 
			
				596
			 | 
			
			
				 	tomb dig -s $TOMB_TOX_SIZE_MB /tmp/tox.tomb 
			 | 
		
	
		
			
			| 
				
			 | 
			
				597
			 | 
			
			
				+	if [ ! -f /tmp/tox.tomb ]; then 
			 | 
		
	
		
			
			| 
				
			 | 
			
				598
			 | 
			
			
				+		echo "WARNING: Tomb did not install properly" >> /var/log/${PROJECT_NAME}.log 
			 | 
		
	
		
			
			| 
				
			 | 
			
				599
			 | 
			
			
				+		tomb >> /var/log/${PROJECT_NAME}.log 
			 | 
		
	
		
			
			| 
				
			 | 
			
				600
			 | 
			
			
				+	fi 
			 | 
		
	
		
			
			| 
				
			 | 
			
				601
			 | 
			
			
				+	TOMB_TOX_PASSWORD="$(openssl rand -base64 32 | cut -c1-30)" 
			 | 
		
	
		
			
			| 
				598
			 | 
			
				602
			 | 
			
			
				 	tomb forge /mnt/ramdisk/tox.tomb.key --tomb-pwd "${TOMB_TOX_PASSWORD}" --unsafe 
			 | 
		
	
		
			
			| 
				599
			 | 
			
				603
			 | 
			
			
				 	tomb lock /tmp/tox.tomb -k /mnt/ramdisk/tox.tomb.key --tomb-pwd "${TOMB_TOX_PASSWORD}" --unsafe 
			 | 
		
	
		
			
			| 
				600
			 | 
			
				604
			 | 
			
			
				 	tomb open /tmp/tox.tomb -k /mnt/ramdisk/tox.tomb.key --tomb-pwd "${TOMB_TOX_PASSWORD}" --unsafe 
			 | 
		
	
		
			
			| 
				601
			 | 
			
				
			 | 
			
			
				-	# clear the password 
			 | 
		
	
		
			
			| 
				
			 | 
			
				605
			 | 
			
			
				+	# clear the temporary password 
			 | 
		
	
		
			
			| 
				602
			 | 
			
				606
			 | 
			
			
				 	TOMB_TOX_PASSWORD= 
			 | 
		
	
		
			
			| 
				603
			 | 
			
				607
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				604
			 | 
			
				608
			 | 
			
			
				 	if [ -d /media/tox ]; then 
			 |