fix typo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7244 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
9c48f9bc45
commit
5feba01b29
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue