summaryrefslogtreecommitdiff
path: root/package/base-files
diff options
context:
space:
mode:
authorMike Baker <mbm@openwrt.org>2007-05-15 06:14:35 +0000
committerMike Baker <mbm@openwrt.org>2007-05-15 06:14:35 +0000
commit924cd1ffc9b557640f60d2c8b668ceaee8bf3e67 (patch)
treed2855debc1acd69fb753d94a44802d409e2228ef /package/base-files
parent51454e4cd00bae3aaf803bedd306611eb3d6704c (diff)
downloadmtk-20170518-924cd1ffc9b557640f60d2c8b668ceaee8bf3e67.zip
mtk-20170518-924cd1ffc9b557640f60d2c8b668ceaee8bf3e67.tar.gz
mtk-20170518-924cd1ffc9b557640f60d2c8b668ceaee8bf3e67.tar.bz2
fix typo
SVN-Revision: 7244
Diffstat (limited to 'package/base-files')
-rwxr-xr-xpackage/base-files/files/usr/share/udhcpc/default.script2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/files/usr/share/udhcpc/default.script b/package/base-files/files/usr/share/udhcpc/default.script
index 76ba746..53bb699 100755
--- a/package/base-files/files/usr/share/udhcpc/default.script
+++ b/package/base-files/files/usr/share/udhcpc/default.script
@@ -28,7 +28,7 @@ case "$1" in
netmask ${subnet:-255.255.255.0} \
broadcast ${broadcast:-+}
- [ "$router"] && {
+ [ -n "$router" ] && {
for i in $router ; do
echo "adding router $i"
route add default gw $i dev $interface