Revert "parental-control: disable urlfilter by default"

This reverts commit d34671b1d0.
This commit is contained in:
Vivek Kumar Dutta 2025-12-08 21:43:43 +05:30
parent d34671b1d0
commit 781967f4aa
No known key found for this signature in database
GPG key ID: 4E09F5AD8265FD4C
2 changed files with 8 additions and 1 deletions

View file

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

View file

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