From 1f9301993a46fff9e69043e6ae0027f29cff2b24 Mon Sep 17 00:00:00 2001 From: mbm Date: Tue, 15 May 2007 06:14:35 +0000 Subject: fix typo git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7244 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/base-files/files/usr/share/udhcpc/default.script | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/base-files/files/usr/share/udhcpc') diff --git a/package/base-files/files/usr/share/udhcpc/default.script b/package/base-files/files/usr/share/udhcpc/default.script index 76ba746e2..53bb6999f 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 -- cgit v1.2.3