2018-01-09 19:55:10 -06:00
|
|
|
#!/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.
|
2018-02-20 16:38:13 -06:00
|
|
|
if [ "$(sonic-cfggen -H -v "DEVICE_METADATA.localhost.platform" | grep -c "arista")" -gt 0 ]; then
|
2018-01-09 19:55:10 -06:00
|
|
|
echo "Not starting caclmgrd - unsupported platform"
|
|
|
|
exit 0
|
|
|
|
fi
|
|
|
|
|
|
|
|
exec /usr/bin/caclmgrd
|