dnsmasq: Make the --dhcp-host logic easier to understand
authorJohn Crispin <john@openwrt.org>
Mon, 1 Sep 2014 13:22:08 +0000 (13:22 +0000)
committerJohn Crispin <john@openwrt.org>
Mon, 1 Sep 2014 13:22:08 +0000 (13:22 +0000)
commitae67ca2b9bcedb869f1b6b5335b32246144c8d7a
treea7c85bb550b9ba4f8e986a0da47cc41c76100fed
parent04fd688d54dff69e848f124ac76425da0387f1c0
dnsmasq: Make the --dhcp-host logic easier to understand

Use an if/else statement to cover the two different syntaxes.  Add
comments explaining what the end results should look like.

This patch should not change the script's output.

Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
Backport of r42320

SVN-Revision: 42390
package/network/services/dnsmasq/files/dnsmasq.init