diff options
author | Hans Dedecker <dedeckeh@gmail.com> | 2018-06-20 13:21:28 +0200 |
---|---|---|
committer | Hans Dedecker <dedeckeh@gmail.com> | 2018-06-20 14:08:01 +0200 |
commit | eb568e0abac158016c61fae68154722e9d112dfc (patch) | |
tree | f806355c7d1c63071c270ec8f966139578cc7e5b /package/network/services/dnsmasq/files | |
parent | da318f3522344ae3344b94c85dae41eeb53b04cc (diff) | |
download | upstream-eb568e0abac158016c61fae68154722e9d112dfc.tar.gz upstream-eb568e0abac158016c61fae68154722e9d112dfc.tar.bz2 upstream-eb568e0abac158016c61fae68154722e9d112dfc.zip |
dnsmasq: fix dnsmasq startup issue
Commit ecd954d530 installs specific interface triggers which rewrites the dnsmasq config
file and restarts dnsmasq if the network interface becomes active for which a trigger
has been installed.
In case no dhcp sections are specified or ignore is set to 1 dnsmasq will not be started
at startup which breaks DNS resolving.
Fix this by ditching the BOOT check in start_service and always start dnsmasq at startup.
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'package/network/services/dnsmasq/files')
-rw-r--r-- | package/network/services/dnsmasq/files/dnsmasq.init | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/package/network/services/dnsmasq/files/dnsmasq.init b/package/network/services/dnsmasq/files/dnsmasq.init index 4906df9ce4..bb8d07ff35 100644 --- a/package/network/services/dnsmasq/files/dnsmasq.init +++ b/package/network/services/dnsmasq/files/dnsmasq.init @@ -1061,18 +1061,10 @@ service_triggers() config_foreach add_interface_trigger dhcp } -boot() -{ - BOOT=1 - start "$@" -} - start_service() { local instance="$1" local instance_found=0 - [ -n "$BOOT" ] && return - . /lib/functions/network.sh config_cb() { |