fix typo
authorMike Baker <mbm@openwrt.org>
Tue, 15 May 2007 06:14:35 +0000 (06:14 +0000)
committerMike Baker <mbm@openwrt.org>
Tue, 15 May 2007 06:14:35 +0000 (06:14 +0000)
SVN-Revision: 7244

package/base-files/files/usr/share/udhcpc/default.script

index 76ba746..53bb699 100755 (executable)
@@ -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