examples/kerneltest/remove.sh
author Christian Taedcke <hacking@taedcke.com>
Thu, 22 Dec 2011 11:42:44 +0100
changeset 673 f511d955ac30
parent 391 7802a7d5584f
permissions -rw-r--r--
FIXED: - the macro SUB_PROG_CFLAGS was overwritten for 64bit machines using gcc. Because of this the xenomai compilation failed.
#!/bin/sh

module="canf_ktest"
device="canf_ktest"

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

rm -f /dev/${device}