From d51a29adc1ad2e012ccf838e7ef01af6f970f3d4 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sun, 17 May 2009 17:57:31 +0000 Subject: [PATCH] Merge r15903 to 8.09 SVN-Revision: 15904 --- package/base-files/files/usr/share/udhcpc/default.script | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/base-files/files/usr/share/udhcpc/default.script b/package/base-files/files/usr/share/udhcpc/default.script index b22cc8b04d..f629c745f4 100755 --- a/package/base-files/files/usr/share/udhcpc/default.script +++ b/package/base-files/files/usr/share/udhcpc/default.script @@ -68,7 +68,7 @@ setup_interface () { user_dns=$(uci_get "network.$ifc.dns") [ -n "$user_dns" ] && dns="$user_dns" - [ -n "$dns" ] && [ ! -s "${RESOLV_CONF}.tmp" -o "$dns" != "$old_dns" ] && { + [ -n "$dns" ] && [ ! -s "${RESOLV_CONF}" -o "$dns" != "$old_dns" ] && { echo "udhcpc: setting dns servers: $dns" echo -n > "${RESOLV_CONF}.tmp" for i in $dns ; do -- 2.30.2