#!/bin/sh
if [ -z "${IPKG_INSTROOT}" ]; then
	uci del_list dhcp.@dnsmasq[0].addnhosts=/etc/safe-search/enabled
	uci commit dhcp
	/etc/init.d/dnsmasq reload
	crontab -l | grep -v "safe-search-maintenance" | sort | uniq | crontab -
fi
exit 0
