mirror of
https://github.com/coolsnowwolf/packages.git
synced 2025-05-01 09:42:02 +08:00
safe-search: fix use with dnsmasq in ujail
The safe-search package creates symlinks in a configured additional hosts directory. The link targets are inside another directory which has to be made available to dnsmasq as well. Now that support for adding additional paths to dnsmasq was added by commit openwrt/openwrt@aa12a0fdd1 implement adding this path using the existing uci-defaults script. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
parent
f23801a21b
commit
15e0870ea4
@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=safe-search
|
||||
PKG_VERSION:=2.0.1
|
||||
PKG_RELEASE:=$(AUTORELEASE)
|
||||
PKG_RELEASE:=11
|
||||
PKG_LICENSE:=MIT
|
||||
PKG_MAINTAINER:=Gregory L. Dietsche <Gregory.Dietsche@cuw.edu>
|
||||
|
||||
|
@ -5,6 +5,8 @@
|
||||
#
|
||||
uci del_list dhcp.@dnsmasq[0].addnhosts=/etc/safe-search/enabled
|
||||
uci add_list dhcp.@dnsmasq[0].addnhosts=/etc/safe-search/enabled
|
||||
uci del_list dhcp.@dnsmasq[0].addn_mount=/etc/safe-search/available
|
||||
uci add_list dhcp.@dnsmasq[0].addn_mount=/etc/safe-search/available
|
||||
uci commit dhcp
|
||||
|
||||
/usr/sbin/safe-search-maintenance
|
||||
|
Loading…
Reference in New Issue
Block a user