projects
/
openwrt
/
svn-archive
/
archive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05fb0c3
)
dnsmasq: respect option dhcpv4 disabled in dhcp-config
author
Steven Barth
<
[email protected]
>
Tue, 19 Aug 2014 06:00:07 +0000
(06:00 +0000)
committer
Steven Barth
<
[email protected]
>
Tue, 19 Aug 2014 06:00:07 +0000
(06:00 +0000)
SVN-Revision: 42218
package/network/services/dnsmasq/files/dnsmasq.init
patch
|
blob
|
history
diff --git
a/package/network/services/dnsmasq/files/dnsmasq.init
b/package/network/services/dnsmasq/files/dnsmasq.init
index 815f424a66e20292df6cc23f90f689cf5e603c45..2ea73af9474fcb7cdbd596bc2aca427b144d1f68 100644
(file)
--- a/
package/network/services/dnsmasq/files/dnsmasq.init
+++ b/
package/network/services/dnsmasq/files/dnsmasq.init
@@
-373,6
+373,9
@@
dhcp_add() {
config_get net "$cfg" interface
[ -n "$net" ] || return 0
+ config_get dhcpv4 "$cfg" dhcpv4
+ [ "$dhcpv4" != "disabled" ] || return 0
+
config_get networkid "$cfg" networkid
[ -n "$networkid" ] || networkid="$net"