sonic-buildimage/files/image_config/caclmgrd/caclmgrd-start.sh

11 lines
334 B
Bash
Executable File

#!/usr/bin/env bash
# Only start control plance ACL manager daemon if not an Arista platform.
# Arista devices will use their own service ACL manager daemon(s) instead.
if [ "$(sonic-cfggen -v "platform" | grep -c "arista")" -gt 0 ]; then
echo "Not starting caclmgrd - unsupported platform"
exit 0
fi
exec /usr/bin/caclmgrd