From 911e829766a755274e3b5d9894eeb64d818817ce Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 4 Jul 2005 20:30:29 +0000 Subject: [PATCH] add fix from whiterussian to head git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1342 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/default/target_skeleton/usr/share/udhcpc/default.script | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/default/target_skeleton/usr/share/udhcpc/default.script b/target/default/target_skeleton/usr/share/udhcpc/default.script index cc94a79270..6c64aa3d4a 100755 --- a/target/default/target_skeleton/usr/share/udhcpc/default.script +++ b/target/default/target_skeleton/usr/share/udhcpc/default.script @@ -28,7 +28,7 @@ case "$1" in fi echo -n > $RESOLV_CONF - ${domain:+echo search $domain >> $RESOLV_CONF} + ${domain:+echo search $domain} >> $RESOLV_CONF for i in $dns ; do echo adding dns $i echo nameserver $i >> $RESOLV_CONF