| 
				
			 | 
			
			
				@@ -333,6 +333,11 @@ function mesh_babel_client { 
			 | 
		
	
		
			
			| 
				333
			 | 
			
				333
			 | 
			
			
				 	sudo mv $babel_script ${rootdir}/usr/bin/babel 
			 | 
		
	
		
			
			| 
				334
			 | 
			
				334
			 | 
			
			
				 } 
			 | 
		
	
		
			
			| 
				335
			 | 
			
				335
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				
			 | 
			
				336
			 | 
			
			
				+function mesh_batman_remove { 
			 | 
		
	
		
			
			| 
				
			 | 
			
				337
			 | 
			
			
				+	systemctl stop batman 
			 | 
		
	
		
			
			| 
				
			 | 
			
				338
			 | 
			
			
				+	rm $rootdir/var/lib/batman 
			 | 
		
	
		
			
			| 
				
			 | 
			
				339
			 | 
			
			
				+	rm $rootdir/etc/systemd/system/batman.service 
			 | 
		
	
		
			
			| 
				
			 | 
			
				340
			 | 
			
			
				+} 
			 | 
		
	
		
			
			| 
				336
			 | 
			
				341
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				337
			 | 
			
				342
			 | 
			
			
				 function mesh_batman { 
			 | 
		
	
		
			
			| 
				338
			 | 
			
				343
			 | 
			
			
				 	$CHROOT_PREFIX apt-get -y install iproute bridge-utils libnetfilter-conntrack3 batctl 
			 | 
		
	
	
		
			
			| 
				
			 | 
			
			
				@@ -1068,7 +1073,11 @@ if [[ $FN == 'firewall' ]]; then 
			 | 
		
	
		
			
			| 
				1068
			 | 
			
				1073
			 | 
			
			
				 	mesh_firewall 
			 | 
		
	
		
			
			| 
				1069
			 | 
			
				1074
			 | 
			
			
				 fi 
			 | 
		
	
		
			
			| 
				1070
			 | 
			
				1075
			 | 
			
			
				 if [[ $FN == 'batman' ]]; then 
			 | 
		
	
		
			
			| 
				1071
			 | 
			
				
			 | 
			
			
				-	mesh_batman 
			 | 
		
	
		
			
			| 
				
			 | 
			
				1076
			 | 
			
			
				+	if [[ $REMOVE != 'yes' ]]; then 
			 | 
		
	
		
			
			| 
				
			 | 
			
				1077
			 | 
			
			
				+		mesh_batman 
			 | 
		
	
		
			
			| 
				
			 | 
			
				1078
			 | 
			
			
				+	else 
			 | 
		
	
		
			
			| 
				
			 | 
			
				1079
			 | 
			
			
				+		mesh_batman_remove 
			 | 
		
	
		
			
			| 
				
			 | 
			
				1080
			 | 
			
			
				+	fi 
			 | 
		
	
		
			
			| 
				1072
			 | 
			
				1081
			 | 
			
			
				 fi 
			 | 
		
	
		
			
			| 
				1073
			 | 
			
				1082
			 | 
			
			
				 if [[ $FN == 'batman_client' ]]; then 
			 | 
		
	
		
			
			| 
				1074
			 | 
			
				1083
			 | 
			
			
				 	mesh_batman_client 
			 |