Revert "default-settings: set dnsmasq logfacility via uci config"
This reverts commit b0865c82218dfea84ca865a9a6da38571f2cfd9c. Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
parent
b0865c8221
commit
b3b46ba4f3
@ -6,7 +6,7 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=default-settings
|
||||
PKG_RELEASE:=28
|
||||
PKG_RELEASE:=29
|
||||
|
||||
PKG_LICENSE:=GPL-2.0-only
|
||||
|
||||
|
@ -12,15 +12,8 @@ if ! uci -q get system.@imm_init[0].lang > "/dev/null"; then
|
||||
EOF
|
||||
fi
|
||||
|
||||
if ! uci -q get system.@imm_init[0].dhcp > "/dev/null"; then
|
||||
uci -q batch <<-EOF
|
||||
set dhcp.@dnsmasq[0].logfacility="/dev/null"
|
||||
commit dhcp
|
||||
|
||||
set system.@imm_init[0].dhcp="1"
|
||||
commit system
|
||||
EOF
|
||||
fi
|
||||
sed -i "/log-facility/d" "/etc/dnsmasq.conf"
|
||||
echo "log-facility=/dev/null" >> "/etc/dnsmasq.conf"
|
||||
|
||||
ln -sf "/sbin/ip" "/usr/bin/ip"
|
||||
|
||||
|
@ -27,7 +27,6 @@ config dnsmasq
|
||||
option ednspacket_max 1232
|
||||
option filter_aaaa 0
|
||||
option filter_a 0
|
||||
option logfacility /dev/null
|
||||
#list addnmount /some/path # read-only mount path to expose it to dnsmasq
|
||||
|
||||
config dhcp lan
|
||||
|
Loading…
x
Reference in New Issue
Block a user