mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
parental-control: disable urlfilter by default
(cherry picked from commit5af1df3493)5af1df34parental-control: disable urlfilter by default Co-authored-by: Vivek Kumar Dutta <vivek.dutta@iopsys.eu>
This commit is contained in:
parent
ee51171fd8
commit
d34671b1d0
2 changed files with 1 additions and 8 deletions
|
|
@ -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 y
|
default n
|
||||||
help
|
help
|
||||||
Set this option to include url filter feature
|
Set this option to include url filter feature
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5,10 +5,3 @@
|
||||||
[ ! -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
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue