| 
															
														 | 
														
															 
														 | 
														
															
														 | 
														
															 
														 | 
													
												
													
														| 
															1804
														 | 
														
															   echo '        echo "error: unable to find wifi interface, not enabling batman-adv mesh"' >> $batman_script 
														 | 
														
															1804
														 | 
														
															   echo '        echo "error: unable to find wifi interface, not enabling batman-adv mesh"' >> $batman_script 
														 | 
													
												
													
														| 
															1805
														 | 
														
															   echo '        return' >> $batman_script 
														 | 
														
															1805
														 | 
														
															   echo '        return' >> $batman_script 
														 | 
													
												
													
														| 
															1806
														 | 
														
															   echo '    fi' >> $batman_script 
														 | 
														
															1806
														 | 
														
															   echo '    fi' >> $batman_script 
														 | 
													
												
													
														| 
															
														 | 
														
															 
														 | 
														
															1807
														 | 
														
															+  echo '    sed -i "s|hosts:.*|hosts:          files mdns4_minimal [NOTFOUND=return] dns $(hostname)|g" /etc/nsswitch.conf' >> $batman_script 
														 | 
													
												
													
														| 
															1807
														 | 
														
															   echo '    echo "info: enabling batman-adv mesh network $ESSID on $IFACE"' >> $batman_script 
														 | 
														
															1808
														 | 
														
															   echo '    echo "info: enabling batman-adv mesh network $ESSID on $IFACE"' >> $batman_script 
														 | 
													
												
													
														| 
															1808
														 | 
														
															   echo '    systemctl stop network-manager' >> $batman_script 
														 | 
														
															1809
														 | 
														
															   echo '    systemctl stop network-manager' >> $batman_script 
														 | 
													
												
													
														| 
															1809
														 | 
														
															   echo '    sleep 5' >> $batman_script 
														 | 
														
															1810
														 | 
														
															   echo '    sleep 5' >> $batman_script 
														 |