aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/usr
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
commit5feba01b29a228e3168b2da15322576ac11cf4a5 (patch)
tree756610df1206cb1b124568aee3f90c4451bf6432 /package/base-files/files/usr
parent9c48f9bc458c74210e1b3c8ce23b4bb81f7c809b (diff)
downloadupstream-5feba01b29a228e3168b2da15322576ac11cf4a5.tar.gz
upstream-5feba01b29a228e3168b2da15322576ac11cf4a5.tar.bz2
upstream-5feba01b29a228e3168b2da15322576ac11cf4a5.zip
fix typo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7244 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/files/usr')
-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 76ba746e28..53bb6999f6 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