lede/package/qat/firmware/quickassist-c3xxx/files/hotplug.d/uio/01-uio

8 lines
140 B
Bash

#!/bin/sh
if [ "$ACTION" != "add" ] && [ "$MAJOR" != "249" ]; then exit 0; fi
chgrp qat /dev/${DEVICENAME}
chmod 0660 /dev/${DEVICENAME}