Lightweight server monitoring with historical data, docker stats, and alerts.
fix(install): add beszel to operator group on FreeBSD for SMART device access (#2286)
Santhi Prakash59eed073c3d1
diff --git a/supplemental/scripts/install-agent.sh b/supplemental/scripts/install-agent.shindex 4ffd7a6fa..2c6f58734 100755--- a/supplemental/scripts/install-agent.sh+++ b/supplemental/scripts/install-agent.sh@@ -812,6 +812,11 @@ elif is_freebsd; thenecho "Adding beszel to wheel group for self-updates"pw group mod wheel -m beszelfi+ # Add the user to the operator group for device access (SMART, /dev/xpt0, /dev/nvme*)+ if pw group show operator >/dev/null 2>&1; then+ echo "Adding beszel to operator group for device access"+ pw group mod operator -m beszel+ fifielse