dnsmasq: Make the --dhcp-host logic easier to understand
authorJohn Crispin <john@openwrt.org>
Thu, 28 Aug 2014 06:27:57 +0000 (06:27 +0000)
committerJohn Crispin <john@openwrt.org>
Thu, 28 Aug 2014 06:27:57 +0000 (06:27 +0000)
commit8f2ba4ec571869a0e2848d48d47d068e93afca1a
tree4299c9dd30404b50b7a79a799faf3a0af8e29ceb
parent76628c7a18e7e55db210be2c2b4a0270f6cec698
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>
SVN-Revision: 42320
package/network/services/dnsmasq/files/dnsmasq.init