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)
commitf65ff468f760b982ab2257c7eb4cee3cff05a28e
treeef5fd136f0343cf69fc365824bad8c5ae8d17705
parent504620931254f4a484b089f593ca631339373152
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