examples/kerneltest/remove.sh
author Christian Taedcke <hacking@taedcke.com>
Tue, 08 Nov 2011 08:27:55 +0000
changeset 685 b38d2d8e291d
parent 391 7802a7d5584f
permissions -rw-r--r--
Win32 IXXAT driver:
ADDED: - Two additional log messages added, when initialization of the driver fails.
CHANGED: - Instead of writing directly into OutputDebugString() messages are printed using the new macro MSG_ERR_DRV().
#!/bin/sh

module="canf_ktest"
device="canf_ktest"

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

rm -f /dev/${device}