fix typo
[openwrt/svn-archive/archive.git] / package / base-files / files / usr / share / udhcpc / default.script
index 76ba746e28f7c2ff275264d5a8d143067ddf9f62..53bb6999f6aa13dcde0f4551cf5b4dc05707f000 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