examples/kerneltest/remove.sh
author etisserant
Wed, 04 Jun 2008 10:57:06 +0200
changeset 469 f2b07ea215b5
parent 391 7802a7d5584f
permissions -rw-r--r--
Applied edward's patch for OD acces macros (optimization) and boudaries check (safety).
#!/bin/sh

module="canf_ktest"
device="canf_ktest"

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

rm -f /dev/${device}