Skip to content

Commit

Permalink
Update openWRT22_install.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
CyberAndi authored Oct 14, 2023
1 parent cab5433 commit 09c985d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions openWRT22_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4256,7 +4256,7 @@ echo 'Please wait until Reboot ....'

}

create_url_filter() {
create_dnsmasq_url_filter() {
clear
echo '########################################################'
echo '# #'
Expand Down Expand Up @@ -14712,7 +14712,7 @@ uci commit stubby && reload_config >/dev/null
/etc/init.d/stubby restart >/dev/null
}

set_unbound() {
create_unbound_url_filter() {
clear
echo '########################################################'
echo '# #'
Expand Down Expand Up @@ -24935,7 +24935,8 @@ echo '# Unbound Blocklist #'
echo '# #'
echo '########################################################'
view_config

}
set_unbound() {
mkdir /etc/unbound/unbound.conf.d >/dev/null
curl -o /etc/unbound/root.hints https://www.internic.net/domain/named.cache >/dev/null
curl -sS -L "http://pgl.yoyo.org/adservers/serverlist.php?hostformat=unbound&showintro=0&mimetype=plaintext" > /etc/unbound/unbound.conf.d/unbound_ad_servers
Expand Down

0 comments on commit 09c985d

Please sign in to comment.