mirror of
				https://github.com/iiab/iiab.git
				synced 2025-03-09 15:40:17 +00:00 
			
		
		
		
	restarting seems excessive just use start
This commit is contained in:
		
							parent
							
								
									4fe56e787e
								
							
						
					
					
						commit
						8aaa459d9c
					
				
					 1 changed files with 2 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -1,7 +1,6 @@
 | 
			
		|||
#!/bin/bash
 | 
			
		||||
 | 
			
		||||
if [ "$IFACE" == "{{ iiab_lan_iface }}" ]; then
 | 
			
		||||
    echo "Restarting dnsmasq in 5 seconds"
 | 
			
		||||
    /bin/sleep 5 && /bin/systemctl --no-block restart dnsmasq.service
 | 
			
		||||
    echo "Restarted dnsmasq"
 | 
			
		||||
    /bin/systemctl --no-block start dnsmasq.service
 | 
			
		||||
    echo "Started dnsmasq"
 | 
			
		||||
fi
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue