projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e23733
)
dnsmasq: rewrite config on host name modification
author
Florian Eckert
<fe@dev.tdt.de>
Tue, 19 Dec 2017 14:08:48 +0000
(15:08 +0100)
committer
Hans Dedecker
<dedeckeh@gmail.com>
Tue, 26 Dec 2017 22:35:34 +0000
(23:35 +0100)
If the hostname in /etc/config/system is modified the dnsmasq should also
get triggered to rewrite/reload the config.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
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 b84f531ac0e2edfda5eb3ba6d39f059bdb060148..204e27d9cffd784bb283d51bdc0ab33a787684b1 100644
(file)
--- a/
package/network/services/dnsmasq/files/dnsmasq.init
+++ b/
package/network/services/dnsmasq/files/dnsmasq.init
@@
-1044,7
+1044,7
@@
dnsmasq_stop()
service_triggers()
{
- procd_add_reload_trigger "dhcp"
+ procd_add_reload_trigger "dhcp"
"system"
procd_add_raw_trigger "interface.*" 2000 /etc/init.d/dnsmasq reload
}