summaryrefslogtreecommitdiff
path: root/openwrt/target/default/target_skeleton
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2005-07-04 20:30:29 +0000
committerFelix Fietkau <nbd@openwrt.org>2005-07-04 20:30:29 +0000
commite33ffc6abfbb05da653c2de5883a5f1ac4b1ab78 (patch)
tree6dd495b25243941f703b5e12afee521e93231275 /openwrt/target/default/target_skeleton
parentb223ca995090528680ffd4689a181c0b96a88779 (diff)
downloadmtk-20170518-e33ffc6abfbb05da653c2de5883a5f1ac4b1ab78.zip
mtk-20170518-e33ffc6abfbb05da653c2de5883a5f1ac4b1ab78.tar.gz
mtk-20170518-e33ffc6abfbb05da653c2de5883a5f1ac4b1ab78.tar.bz2
add fix from whiterussian to head
SVN-Revision: 1342
Diffstat (limited to 'openwrt/target/default/target_skeleton')
-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 cc94a79..6c64aa3 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