luci-app-statistics: rewrite stat-genconfig in ucode
authorJo-Philipp Wich <jo@mein.io>
Fri, 23 Sep 2022 18:25:01 +0000 (20:25 +0200)
committerJo-Philipp Wich <jo@mein.io>
Mon, 24 Oct 2022 23:03:37 +0000 (01:03 +0200)
commit984a9a4d695b14023a030b9cbc4bd6ca821425dd
tree7d214aa956d49ad27900c40a2c33694685e59e61
parent287775351bf39475f070ffc4ff4162f025ebfd81
luci-app-statistics: rewrite stat-genconfig in ucode

Rewrite the collectd config generator script in ucode to remove the implicit
dependency on the Lua runtime.

Also move the stat-genconfig script into /usr/libexec as it isn't really a
user facing executable.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
applications/luci-app-statistics/Makefile
applications/luci-app-statistics/root/etc/init.d/luci_statistics
applications/luci-app-statistics/root/usr/bin/stat-genconfig [deleted file]
applications/luci-app-statistics/root/usr/libexec/stat-genconfig [new file with mode: 0755]