mirror of
				https://github.com/iiab/iiab.git
				synced 2025-03-09 15:40:17 +00:00 
			
		
		
		
	spelling typos cleaned
This commit is contained in:
		
							parent
							
								
									901aad5e0f
								
							
						
					
					
						commit
						60d8afaab8
					
				
					 1 changed files with 4 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -17,7 +17,7 @@
 | 
			
		|||
           state=stopped
 | 
			
		||||
  when: dansguardian_install
 | 
			
		||||
 | 
			
		||||
- name: Restart DansGuardian - execpt Ubuntu which needs reboot to activate
 | 
			
		||||
- name: Restart DansGuardian - except Ubuntu which needs reboot to activate
 | 
			
		||||
  service: name=dansguardian
 | 
			
		||||
           state=restarted
 | 
			
		||||
  when: dansguardian_enabled and dansguardian_install and ( not is_ubuntu and iiab_stage|int < 4 )
 | 
			
		||||
| 
						 | 
				
			
			@ -42,18 +42,18 @@
 | 
			
		|||
         creates=/etc/sysconfig/olpc-scripts/setup.d/installed/gateway
 | 
			
		||||
  when: iiab_network_mode == "Gateway"
 | 
			
		||||
 | 
			
		||||
- name: Waiting {{ hostapd_wait }} seconds for network to stablize
 | 
			
		||||
- name: Waiting {{ hostapd_wait }} seconds for network to stabilize
 | 
			
		||||
  shell: sleep {{ hostapd_wait }}
 | 
			
		||||
 | 
			
		||||
- name: Run iptables
 | 
			
		||||
  command: /usr/bin/iiab-gen-iptables
 | 
			
		||||
 | 
			
		||||
- name: Checking if wifi slave is active
 | 
			
		||||
- name: Checking if WiFi slave is active
 | 
			
		||||
  shell: brctl show br0 | grep {{ iiab_wireless_lan_iface }} | wc -l
 | 
			
		||||
  when: iiab_wireless_lan_iface is defined and iiab_lan_iface == "br0" and hostapd_enabled
 | 
			
		||||
  register: wifi_slave
 | 
			
		||||
 | 
			
		||||
- name: Restart hostapd if wifi slave is inactive
 | 
			
		||||
- name: Restart hostapd if WiFi slave is inactive
 | 
			
		||||
  service: name=hostapd.service
 | 
			
		||||
           state=restarted
 | 
			
		||||
  when: wifi_slave.stdout is defined and hostapd_enabled and wifi_slave.stdout == 0
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue