diff options
author | Jo-Philipp Wich <jo@mein.io> | 2022-09-23 20:25:01 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2022-10-25 01:03:37 +0200 |
commit | 984a9a4d695b14023a030b9cbc4bd6ca821425dd (patch) | |
tree | 7d214aa956d49ad27900c40a2c33694685e59e61 /applications/luci-app-statistics/root/etc/init.d/luci_statistics | |
parent | 287775351bf39475f070ffc4ff4162f025ebfd81 (diff) |
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>
Diffstat (limited to 'applications/luci-app-statistics/root/etc/init.d/luci_statistics')
-rwxr-xr-x | applications/luci-app-statistics/root/etc/init.d/luci_statistics | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-app-statistics/root/etc/init.d/luci_statistics b/applications/luci-app-statistics/root/etc/init.d/luci_statistics index 2dc176c83c..3684bc1834 100755 --- a/applications/luci-app-statistics/root/etc/init.d/luci_statistics +++ b/applications/luci-app-statistics/root/etc/init.d/luci_statistics @@ -17,7 +17,7 @@ start_service() { fi ### create config - /usr/bin/stat-genconfig > /var/etc/collectd.conf + /usr/libexec/stat-genconfig > /var/etc/collectd.conf ### workaround broken permissions on /tmp chmod 1777 /tmp |