1
0
Fork 0
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:
Ycarus (Yannick Chabanois) 2025-02-14 14:36:16 +01:00
parent 5e94e170ed
commit 3720e9b1a5

View file

@ -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'