examples/kerneltest/remove.sh
author skratochwil
Mon, 20 Jun 2011 15:03:54 +0200
changeset 660 cff8e50333e8
parent 391 7802a7d5584f
permissions -rw-r--r--
Fixed incorrect struct access in sendPDO() and inserted a missing variable in sendOnePDOEvent(). These errors occured at compile-time when configuring the project with './configure --debug=PDO' or './configure --debug=WAR'.
#!/bin/sh

module="canf_ktest"
device="canf_ktest"

/sbin/rmmod $module || exit 1
/sbin/rmmod canfestival
/sbin/rmmod can_virtual

rm -f /dev/${device}