From 096296ba7b36827a8a52d6412a75e39f72d8a709 Mon Sep 17 00:00:00 2001 From: henrygd Date: Wed, 25 Feb 2026 16:22:37 -0500 Subject: [PATCH] fix: ensure rc.d directory exists for minimal FreeBSD installs in install-agent.sh --- supplemental/scripts/install-agent.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/supplemental/scripts/install-agent.sh b/supplemental/scripts/install-agent.sh index 86088dda..fa2f7fdf 100755 --- a/supplemental/scripts/install-agent.sh +++ b/supplemental/scripts/install-agent.sh @@ -871,6 +871,8 @@ EOF elif is_freebsd; then echo "Checking for existing FreeBSD service configuration..." + # Ensure rc.d directory exists on minimal FreeBSD installs + mkdir -p /usr/local/etc/rc.d # Create environment configuration file with proper permissions if it doesn't exist if [ ! -f "$AGENT_DIR/env" ]; then