mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Disable smartdns by default
This commit is contained in:
parent
5e94e170ed
commit
3720e9b1a5
1 changed files with 1 additions and 0 deletions
|
@ -7,6 +7,7 @@ uci -q set smartdns.@smartdns[0].auto_set_dnsmasq='1'
|
|||
|
||||
if [ -z "$(uci -q get smartdns.@server[0])" ]; then
|
||||
uci -q batch <<-EOF >/dev/null
|
||||
set smartdns.@smartdns[0].enabled='1'
|
||||
add smartdns server
|
||||
set smartdns.@server[-1].enabled='1'
|
||||
set smartdns.@server[-1].name='Cloudfare'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue