summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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