mirror of
				https://github.com/uklans/cache-domains
				synced 2025-11-04 02:28:51 +01:00 
			
		
		
		
	Include advice for unbound script
This commit is contained in:
		
							parent
							
								
									634b7dfff8
								
							
						
					
					
						commit
						14ccfecb1f
					
				@ -80,4 +80,10 @@ while read -r entry; do
 | 
				
			|||||||
        done <<< $(jq -r ".cache_domains[$entry].domain_files | to_entries[] | .key" $path)
 | 
					        done <<< $(jq -r ".cache_domains[$entry].domain_files | to_entries[] | .key" $path)
 | 
				
			||||||
done <<< $(jq -r '.cache_domains | to_entries[] | .key' $path)
 | 
					done <<< $(jq -r '.cache_domains | to_entries[] | .key' $path)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
echo "Please copy the following files:\n- ./output/dnsmasq/lancache.conf to /etc/dnsmasq/dnsmasq.d/\n- ./output/dnsmasq/hosts to /etc/dnsmasq/"
 | 
					cat << EOF
 | 
				
			||||||
 | 
					Configuration generation completed.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Please copy the following files:
 | 
				
			||||||
 | 
					- ./${outputdir}/lancache.conf to /etc/dnsmasq/dnsmasq.d/
 | 
				
			||||||
 | 
					- ./${outputdir}/hosts to /etc/dnsmasq/
 | 
				
			||||||
 | 
					EOF
 | 
				
			||||||
 | 
				
			|||||||
@ -63,3 +63,10 @@ while read entry; do
 | 
				
			|||||||
		done <<< $(jq -r ".cache_domains[$entry].domain_files[$fileid]" $path)
 | 
							done <<< $(jq -r ".cache_domains[$entry].domain_files[$fileid]" $path)
 | 
				
			||||||
	done <<< $(jq -r ".cache_domains[$entry].domain_files | to_entries[] | .key" $path)
 | 
						done <<< $(jq -r ".cache_domains[$entry].domain_files | to_entries[] | .key" $path)
 | 
				
			||||||
done <<< $(jq -r '.cache_domains | to_entries[] | .key' $path)
 | 
					done <<< $(jq -r '.cache_domains | to_entries[] | .key' $path)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					cat << EOF
 | 
				
			||||||
 | 
					Configuration generation completed.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Please copy the following files:
 | 
				
			||||||
 | 
					- ./${outputdir}/*.conf to /etc/unbound/unbound.conf.d/
 | 
				
			||||||
 | 
					EOF
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user