| 
															
														 | 
														
															 
														 | 
														
															
														 | 
														
															 
														 | 
													
												
													
														| 
															1336
														 | 
														
															     esac 
														 | 
														
															1336
														 | 
														
															     esac 
														 | 
													
												
													
														| 
															1337
														 | 
														
															  
														 | 
														
															1337
														 | 
														
															  
														 | 
													
												
													
														| 
															1338
														 | 
														
															     if ! grep -q 'iface eth0 inet static' /etc/network/interfaces; then 
														 | 
														
															1338
														 | 
														
															     if ! grep -q 'iface eth0 inet static' /etc/network/interfaces; then 
														 | 
													
												
													
														| 
															1339
														 | 
														
															-        if [ "$NEW_STATIC_GATEWAY" && "$NEW_STATIC_IP" ]; then 
														 | 
														
															
														 | 
														
															 
														 | 
													
												
													
														| 
															
														 | 
														
															 
														 | 
														
															1339
														 | 
														
															+        if [[ "$NEW_STATIC_GATEWAY" == *"."* && "$NEW_STATIC_IP" == *"."* ]]; then 
														 | 
													
												
													
														| 
															1340
														 | 
														
															             echo '# This file describes the network interfaces available on your system' > /etc/network/interfaces 
														 | 
														
															1340
														 | 
														
															             echo '# This file describes the network interfaces available on your system' > /etc/network/interfaces 
														 | 
													
												
													
														| 
															1341
														 | 
														
															             echo '# and how to activate them. For more information, see interfaces(5).' >> /etc/network/interfaces 
														 | 
														
															1341
														 | 
														
															             echo '# and how to activate them. For more information, see interfaces(5).' >> /etc/network/interfaces 
														 | 
													
												
													
														| 
															1342
														 | 
														
															             echo '' >> /etc/network/interfaces 
														 | 
														
															1342
														 | 
														
															             echo '' >> /etc/network/interfaces 
														 |