add fix from whiterussian to head
authorFelix Fietkau <nbd@openwrt.org>
Mon, 4 Jul 2005 20:30:29 +0000 (20:30 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 4 Jul 2005 20:30:29 +0000 (20:30 +0000)
SVN-Revision: 1342

openwrt/target/default/target_skeleton/usr/share/udhcpc/default.script

index cc94a7927021813814f98b1962e3077857a923b5..6c64aa3d4ae6e3eb82380e407bde62120f634a5e 100755 (executable)
@@ -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