examples/kerneltest/remove.sh
author edouard
Wed, 07 Oct 2009 11:40:49 +0200
changeset 604 96e632bc1e58
parent 391 7802a7d5584f
permissions -rw-r--r--
Fixed casts subject to problems on some compilers.
#!/bin/sh

module="canf_ktest"
device="canf_ktest"

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

rm -f /dev/${device}