mirror of
				https://github.com/Ysurac/openmptcprouter-feeds.git
				synced 2025-03-09 15:40:03 +00:00 
			
		
		
		
	Fix pihole check
This commit is contained in:
		
							parent
							
								
									df5fdae4a7
								
							
						
					
					
						commit
						a7f74488e2
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -196,7 +196,7 @@ disable_pihole() { | |||
| 
 | ||||
| enable_pihole() { | ||||
| 	local server=$1 | ||||
| 	if [ "$(uci -q get openmptcprouter.${server}.pihole)" = "1" ] && [ "$(uci -q get dhcp.@dnsmasq[0].server)" != "127.0.0.1#5353" ]; then | ||||
| 	if [ "$(uci -q get openmptcprouter.${server}.pihole)" = "1" ] && [ "$(uci -q get dhcp.@dnsmasq[0].server)" = "127.0.0.1#5353" ]; then | ||||
| 		_log "Restart openmptcprouter-vps..." | ||||
| 		/etc/init.d/openmptcprouter-vps set_pihole | ||||
| 	fi | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue