#!/bin/sh

. /lib/functions.sh

[ ! -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
