parental-control: disable urlfilter by default

This commit is contained in:
Vivek Kumar Dutta 2025-12-08 19:20:58 +05:30 committed by Vivek Dutta
parent 3ec6c21456
commit 5af1df3493
2 changed files with 1 additions and 8 deletions

View file

@ -2,7 +2,7 @@ if PACKAGE_parental-control
config PARENTAL_CONTROL_URLFILTERING
bool "Enables URL Filter functions and datamodel"
default y
default n
help
Set this option to include url filter feature

View file

@ -5,10 +5,3 @@
[ ! -f "/etc/config/parentalcontrol" ] && exit 0
uci -q set parentalcontrol.globals.urlfilter='0'
_delete_urlbundle() {
uci_remove parentalcontrol "${1}"
}
config_load "parentalcontrol"
config_foreach _delete_urlbundle urlbundle