From: Bastian Bittorf Date: Sun, 16 Apr 2017 16:21:49 +0000 (+0200) Subject: dnsmasq: fix uninitialized varname in init-script X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=56457dbcb7fa868c4a306405c596138b845de077;p=librecmc%2Flibrecmc.git dnsmasq: fix uninitialized varname in init-script minor/cosmetic: fixes the following misleading message: root@box:~ /etc/init.d/dnsmasq restart sh: out of range Signed-off-by: Bastian Bittorf --- diff --git a/package/network/services/dnsmasq/files/dnsmasq.init b/package/network/services/dnsmasq/files/dnsmasq.init index 83553f19cf..448d3ee9b0 100644 --- a/package/network/services/dnsmasq/files/dnsmasq.init +++ b/package/network/services/dnsmasq/files/dnsmasq.init @@ -698,7 +698,7 @@ dnsmasq_start() if [ -x /usr/sbin/odhcpd -a -x /etc/init.d/odhcpd ] ; then local odhcpd_is_main odhcpd_is_enabled - config_get odhcpd_is_main odhcpd maindhcp + config_get odhcpd_is_main odhcpd maindhcp 0 /etc/init.d/odhcpd enabled && odhcpd_is_enabled=1 || odhcpd_is_enabled=0