dnsmasq: Make the --dhcp-host logic easier to understand
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 1 Sep 2014 13:22:08 +0000 (13:22 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 1 Sep 2014 13:22:08 +0000 (13:22 +0000)
commit67cfa7ee6ef25a3873d93267288e7a5237381bda
treea7c85bb550b9ba4f8e986a0da47cc41c76100fed
parent41ed6f55fbfbdaf662976d5c6a9ce7aec4c101d1
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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42390 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/network/services/dnsmasq/files/dnsmasq.init