|  | 
 |  | 
 | 
												
													
														| 56 |      # i2p needs ipv6 to be enabled
 | 56 |      # i2p needs ipv6 to be enabled
 | 
												
													
														| 57 |      sed -i 's|net.ipv6.conf.all.disable_ipv6.*|net.ipv6.conf.all.disable_ipv6 = 0|g' /etc/sysctl.conf
 | 57 |      sed -i 's|net.ipv6.conf.all.disable_ipv6.*|net.ipv6.conf.all.disable_ipv6 = 0|g' /etc/sysctl.conf
 | 
												
													
														| 58 |      /sbin/sysctl -p -q
 | 58 |      /sbin/sysctl -p -q
 | 
												
													
														|  | 
 | 59 | +    sysctl --system
 | 
												
													
														| 59 |  
 | 60 |  
 | 
												
													
														| 60 |      apt-get update
 | 61 |      apt-get update
 | 
												
													
														| 61 |      apt-get -yq install i2p i2p-keyring
 | 62 |      apt-get -yq install i2p i2p-keyring
 | 
												
											
												
													
														|  | 
 |  | 
 | 
												
													
														| 68 |      # This might not be true in future
 | 69 |      # This might not be true in future
 | 
												
													
														| 69 |      sed -i 's|net.ipv6.conf.all.disable_ipv6.*|net.ipv6.conf.all.disable_ipv6 = 1|g' /etc/sysctl.conf
 | 70 |      sed -i 's|net.ipv6.conf.all.disable_ipv6.*|net.ipv6.conf.all.disable_ipv6 = 1|g' /etc/sysctl.conf
 | 
												
													
														| 70 |      /sbin/sysctl -p -q
 | 71 |      /sbin/sysctl -p -q
 | 
												
													
														|  | 
 | 72 | +    sysctl --system
 | 
												
													
														| 71 |  
 | 73 |  
 | 
												
													
														| 72 |      if [ -d /var/lib/i2p ]; then
 | 74 |      if [ -d /var/lib/i2p ]; then
 | 
												
													
														| 73 |          rm -rf /var/lib/i2p
 | 75 |          rm -rf /var/lib/i2p
 |