#!/bin/sh

. /lib/functions.sh

CONFIG="ip_blockd"

uci_rename "$CONFIG" "@globals[0]" "ip_blockd"
[ -z "$(uci -q get $CONFIG.ip_blockd.enabled_time_based)" ] &&
	uci_set "$CONFIG" "ip_blockd" "enabled_time_based" "0"
uci_commit $CONFIG

exit 0
