From d504ce54e29605a465dfd648eaab1f8826907699 Mon Sep 17 00:00:00 2001 From: Bram Veenboer Date: Sun, 23 Feb 2020 17:54:21 +0100 Subject: [PATCH] Fixes to make btrfs work (without external btrfs binary) --- build/scripts/collectd.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/build/scripts/collectd.sh b/build/scripts/collectd.sh index 678c904..97e1f10 100644 --- a/build/scripts/collectd.sh +++ b/build/scripts/collectd.sh @@ -1,3 +1,7 @@ -apt_install_permanent libsensors5 hddtemp collectd +apt_install_permanent libsensors5 liblzo2-2 hddtemp collectd sudo btrfs-progs pip install requests + +useradd collectd +usermod -aG sudo collectd +echo 'collectd ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers.d/collectd