summaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-07-04 20:30:29 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-07-04 20:30:29 +0000
commit16254e10c6653302068925c25156f6f88a34361c (patch)
tree12fb75c13b2b43531d444a64e25c1facd9dc54c1 /target
parenta129a6b217c4567598d98871ef1debc7aea63fcf (diff)
add fix from whiterussian to head
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1342 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rwxr-xr-xtarget/default/target_skeleton/usr/share/udhcpc/default.script2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/default/target_skeleton/usr/share/udhcpc/default.script b/target/default/target_skeleton/usr/share/udhcpc/default.script
index cc94a7927..6c64aa3d4 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