adjust dnsmasq cache and ipv6 setting

This commit is contained in:
coolsnowwolf 2018-09-28 11:20:09 +08:00
parent 68814dbd75
commit e00b098691
2 changed files with 5 additions and 4 deletions

View File

@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=default-settings
PKG_VERSION:=1.0
PKG_RELEASE:=53
PKG_RELEASE:=55
PKG_LICENSE:=GPLv3
PKG_LICENSE_FILES:=LICENSE

View File

@ -42,9 +42,10 @@ sed -i 's/root::0:0:99999:7:::/root:$1$V4UetPzk$CYXluq4wUazHjmCDBCqXF.:0:0:99999
sed -i "s/# //g" /etc/opkg/distfeeds.conf
uci set dhcp.lan.ra='relay'
uci set dhcp.lan.dhcpv6='relay'
uci set dhcp.lan.ndp='relay'
uci set dhcp.@dnsmasq[0].cachesize='1024'
uci set dhcp.lan.ra='hybrid'
uci set dhcp.lan.dhcpv6='hybrid'
uci set dhcp.lan.ndp='hybrid'
uci commit dhcp
sed -i '/REDIRECT --to-ports 53/d' /etc/firewall.user