diff --git a/trunk/user/dnsmasq/Makefile b/trunk/user/dnsmasq/Makefile index 4bca0b8e33d..22358f5c458 100644 --- a/trunk/user/dnsmasq/Makefile +++ b/trunk/user/dnsmasq/Makefile @@ -32,5 +32,3 @@ $(eval $(call BuildPackage,dnsmasq)) romfs: $(INSTALL_DIR) $(ROMFSDIR)/usr/sbin $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/dnsmasq $(ROMFSDIR)/usr/sbin/dnsmasq - $(INSTALL_DIR) $(ROMFSDIR)/usr/bin - $(INSTALL_BIN) ./dnsmasq.sh $(ROMFSDIR)/usr/bin/dnsmasq.sh diff --git a/trunk/user/dnsmasq/dnsmasq.sh b/trunk/user/dnsmasq/dnsmasq.sh deleted file mode 100644 index b903e13df32..00000000000 --- a/trunk/user/dnsmasq/dnsmasq.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh - -filter_aaaa=`nvram get dhcp_filter_aaa` -min_ttl=`nvram get dhcp_min_ttl` -if [ $filter_aaaa = 0 ]; then -sed -i '/filter-aaaa/d' /etc/storage/dnsmasq/dnsmasq.conf - else -sed -i '/filter-aaaa/d' /etc/storage/dnsmasq/dnsmasq.conf - cat >>/etc/storage/dnsmasq/dnsmasq.conf <<#t2Advanced#> - 禁止解析IPv6 DNS记录 + <#DHCP_Filter_AAAA#>