From 37ba07b32c887726aeffa54fb6d3af8665402b25 Mon Sep 17 00:00:00 2001 From: nbd Date: Tue, 25 Jul 2006 18:12:30 +0000 Subject: use 127.0.0.1 as dns server and point dnsmasq to /tmp/resolv.conf git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4282 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/base-files/Makefile | 1 - package/base-files/default/etc/resolv.conf | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 package/base-files/default/etc/resolv.conf (limited to 'package/base-files') diff --git a/package/base-files/Makefile b/package/base-files/Makefile index 8fccf79ea..01ea9674c 100644 --- a/package/base-files/Makefile +++ b/package/base-files/Makefile @@ -153,7 +153,6 @@ define Package/base-files$(TARGET)/install mkdir -p $(1)/usr/bin mkdir -p $(1)/sys mkdir -p $(1)/www - ln -sf /tmp/resolv.conf $(1)/etc/resolv.conf ln -sf /proc/mounts $(1)/etc/mtab rm -f $(1)/var ln -sf /tmp $(1)/var diff --git a/package/base-files/default/etc/resolv.conf b/package/base-files/default/etc/resolv.conf new file mode 100644 index 000000000..9617eacda --- /dev/null +++ b/package/base-files/default/etc/resolv.conf @@ -0,0 +1,2 @@ +nameserver 127.0.0.1 +search lan -- cgit v1.2.3