From: nbd Date: Mon, 4 Jul 2005 20:30:29 +0000 (+0000) Subject: add fix from whiterussian to head X-Git-Url: https://git.rohieb.name/openwrt.git/commitdiff_plain/af51a6df01bd6f55af15b1fb6561857476e8b87d add fix from whiterussian to head git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1342 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/openwrt/target/default/target_skeleton/usr/share/udhcpc/default.script b/openwrt/target/default/target_skeleton/usr/share/udhcpc/default.script index cc94a7927..6c64aa3d4 100755 --- a/openwrt/target/default/target_skeleton/usr/share/udhcpc/default.script +++ b/openwrt/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