projects
/
openwrt
/
staging
/
lynxis.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8857381
)
dnsmasq: speed up the dhcp server detection (one try is enough)
author
Felix Fietkau
<nbd@openwrt.org>
Thu, 12 Apr 2007 18:49:02 +0000
(18:49 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Thu, 12 Apr 2007 18:49:02 +0000
(18:49 +0000)
SVN-Revision: 6941
package/dnsmasq/files/dnsmasq.init
patch
|
blob
|
history
diff --git
a/package/dnsmasq/files/dnsmasq.init
b/package/dnsmasq/files/dnsmasq.init
index 118564954f8e2d53c76f75da09753dc9d8f7e97e..1d4cc5a9954eb8988d69ec0ded19f80ac2d2b10e 100644
(file)
--- a/
package/dnsmasq/files/dnsmasq.init
+++ b/
package/dnsmasq/files/dnsmasq.init
@@
-40,7
+40,7
@@
dhcp_add() {
# check for an already active dhcp server on the interface, unless 'force' is set
config_get_bool force "$cfg" force 0
[ "$force" -gt 0 ] || {
- udhcpc -n -q -R -s /bin/true -i $ifname >&- && return 0
+ udhcpc -n -q -R -s /bin/true -
t 1 -
i $ifname >&- && return 0
}
config_get start "$cfg" start