dnsmasq: Make the --dhcp-host logic easier to understand
authorJohn Crispin <blogic@openwrt.org>
Thu, 28 Aug 2014 06:27:57 +0000 (06:27 +0000)
committerJohn Crispin <blogic@openwrt.org>
Thu, 28 Aug 2014 06:27:57 +0000 (06:27 +0000)
commit93a958ff1120b82373c3d3d3ee5dc5cc5b1867af
tree4299c9dd30404b50b7a79a799faf3a0af8e29ceb
parent2abc3f33e5b3e43e526a787f05ecd400af8122e0
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