fix: ensure rc.d directory exists for minimal FreeBSD installs in install-agent.sh

This commit is contained in:
henrygd
2026-02-25 16:22:37 -05:00
parent b012df5669
commit 096296ba7b

View File

@@ -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