diff options
-rwxr-xr-x | package/base-files/files/usr/share/udhcpc/default.script | 2 |
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 |