projects
/
openwrt
/
svn-archive
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c682070
)
fix typo
author
Mike Baker
<mbm@openwrt.org>
Tue, 15 May 2007 06:14:35 +0000
(06:14 +0000)
committer
Mike 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
patch
|
blob
|
history
diff --git
a/package/base-files/files/usr/share/udhcpc/default.script
b/package/base-files/files/usr/share/udhcpc/default.script
index 76ba746e28f7c2ff275264d5a8d143067ddf9f62..bd0311ac534b8f774cea31f347a91f1852c6e409 100755
(executable)
--- 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