mirror of
https://github.com/openwrt/packages.git
synced 2025-12-10 12:41:22 +00:00
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:
committed by
Hannu Nyman
parent
10febdb24a
commit
aecb53a8f7
@@ -3,6 +3,6 @@
|
||||
|
||||
[ -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
|
||||
|
||||
Reference in New Issue
Block a user