#!/bin/bash
if [ "$ACTION" == "add" ];
then
    /opt/k81x/k81x-fkeys on
fi

#!/bin/bash
if [ "$ACTION" == "add" ];
then
    /opt/k81x/k81x-fkeys -s on
fi

Use silent mode in udev script
Use silent mode in udev script