How to detect DSA?

if grep -sq DEVTYPE=dsa /sys/class/net/*/uevent; then 
  echo "Is DSA"
fi
3 Likes