luci-app-ddns: use standard pkg info function 1877/head
authorAnsuel Smith <ansuelsmth@gmail.com>
Mon, 11 Jun 2018 15:13:31 +0000 (17:13 +0200)
committerAnsuel Smith <ansuelsmth@gmail.com>
Mon, 11 Jun 2018 15:13:31 +0000 (17:13 +0200)
commit492d4d91b91b8fe6a7a03dd7304b787c2479364f
treee399a9082ca36744d3f0c86621833331ae86937e
parent8a4c3a01bf5a9a9dfda17aea1eaab72a1c71e8a9
luci-app-ddns: use standard pkg info function

DDns script call another sh script to check ddns-scripts version. We can use the quicker IPKG.info function instead of execute another slow command.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
applications/luci-app-ddns/luasrc/controller/ddns.lua