summaryrefslogtreecommitdiffstats
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
commitaf51a6df01bd6f55af15b1fb6561857476e8b87d (patch)
tree6dd495b25243941f703b5e12afee521e93231275
parent4424ed1a10655e9622b287f12955a5a20f5927a8 (diff)
add fix from whiterussian to head
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1342 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rwxr-xr-xopenwrt/target/default/target_skeleton/usr/share/udhcpc/default.script2
1 files changed, 1 insertions, 1 deletions
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