telegraf: set home variable in uci-defaults script

avoid a non-critical error caused by getent not being installed

Signed-off-by: Niklas Thorild <niklas@thorild.se>
This commit is contained in:
Niklas Thorild
2025-12-09 16:14:25 +01:00
committed by Hannu Nyman
parent 10febdb24a
commit aecb53a8f7

View File

@@ -3,6 +3,6 @@
[ -f /etc/telegraf.conf ] && exit 0 [ -f /etc/telegraf.conf ] && exit 0
/usr/bin/telegraf config create > /etc/telegraf.conf HOME=/root /usr/bin/telegraf config create > /etc/telegraf.conf
exit 0 exit 0