Send timeout is set to 10 ms. Without timeout PLC can be blocked by CAN driver: if CAN bus is not connected to controller CAN driver never returns and therfore PLC application halts. This is a temporary solution.
#!/bin/sh
module="canf_ktest"
device="canf_ktest"
/sbin/rmmod $module || exit 1
/sbin/rmmod canfestival
/sbin/rmmod can_virtual
rm -f /dev/${device}