| 
				
			 | 
			
			
				@@ -88,9 +88,18 @@ function i2p_enable_sam { 
			 | 
		
	
		
			
			| 
				88
			 | 
			
				88
			 | 
			
			
				     if [ ! -f /var/lib/i2p/i2p-config/clients.config ]; then 
			 | 
		
	
		
			
			| 
				89
			 | 
			
				89
			 | 
			
			
				         apt-get -yq remove i2p --purge 
			 | 
		
	
		
			
			| 
				90
			 | 
			
				90
			 | 
			
			
				         apt-get -yq remove i2p-router --purge 
			 | 
		
	
		
			
			| 
				91
			 | 
			
				
			 | 
			
			
				-        apt-get -yq install i2p 
			 | 
		
	
		
			
			| 
				
			 | 
			
				91
			 | 
			
			
				+        if [ -d /var/lib/i2p ]; then 
			 | 
		
	
		
			
			| 
				
			 | 
			
				92
			 | 
			
			
				+            rm -rf /var/lib/i2p 
			 | 
		
	
		
			
			| 
				
			 | 
			
				93
			 | 
			
			
				+        fi 
			 | 
		
	
		
			
			| 
				
			 | 
			
				94
			 | 
			
			
				+        if [ -d /etc/i2p ]; then 
			 | 
		
	
		
			
			| 
				
			 | 
			
				95
			 | 
			
			
				+            rm -rf /etc/i2p 
			 | 
		
	
		
			
			| 
				
			 | 
			
				96
			 | 
			
			
				+        fi 
			 | 
		
	
		
			
			| 
				
			 | 
			
				97
			 | 
			
			
				+        if [ -d /usr/share/i2p ]; then 
			 | 
		
	
		
			
			| 
				
			 | 
			
				98
			 | 
			
			
				+            rm -rf /usr/share/i2p 
			 | 
		
	
		
			
			| 
				
			 | 
			
				99
			 | 
			
			
				+        fi 
			 | 
		
	
		
			
			| 
				
			 | 
			
				100
			 | 
			
			
				+        apt-get -yq install i2p i2p-keyring 
			 | 
		
	
		
			
			| 
				92
			 | 
			
				101
			 | 
			
			
				         apt-get -yq install i2p-router 
			 | 
		
	
		
			
			| 
				93
			 | 
			
				
			 | 
			
			
				-        sleep 2 
			 | 
		
	
		
			
			| 
				
			 | 
			
				102
			 | 
			
			
				+        sleep 10 
			 | 
		
	
		
			
			| 
				94
			 | 
			
				103
			 | 
			
			
				     fi 
			 | 
		
	
		
			
			| 
				95
			 | 
			
				104
			 | 
			
			
				     if [ ! -f /var/lib/i2p/i2p-config/clients.config ]; then 
			 | 
		
	
		
			
			| 
				96
			 | 
			
				105
			 | 
			
			
				         echo $'File not found /var/lib/i2p/i2p-config/clients.config' 
			 |