dnsmasq: Make the --dhcp-host logic easier to understand
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 28 Aug 2014 06:27:57 +0000 (06:27 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 28 Aug 2014 06:27:57 +0000 (06:27 +0000)
commitdab9f3b492aceb69618765fe58cba089cada1099
tree4299c9dd30404b50b7a79a799faf3a0af8e29ceb
parentcf974867954967bec5a41b926ed02fce688379fb
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42320 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/network/services/dnsmasq/files/dnsmasq.init