Add TODO in script
This commit is contained in:
		@@ -1,5 +1,9 @@
 | 
				
			|||||||
#!/usr/bin/env bash
 | 
					#!/usr/bin/env bash
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# TODO review entirely:
 | 
				
			||||||
 | 
					# * use DNS variable to set the first nameserver line
 | 
				
			||||||
 | 
					# * add an "ExecStop" to service, and a script to remove that first line
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# count lines in resolv.conf
 | 
					# count lines in resolv.conf
 | 
				
			||||||
lines=$(cat /run/libreelec/resolv.conf | wc -l)
 | 
					lines=$(cat /run/libreelec/resolv.conf | wc -l)
 | 
				
			||||||
# count number of 'nameserver' entries
 | 
					# count number of 'nameserver' entries
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user