examples/kerneltest/remove.sh
author Edouard Tisserant
Fri, 03 Feb 2012 15:43:44 +0100
changeset 693 e21822be8189
parent 391 7802a7d5584f
permissions -rw-r--r--
Applyed changes from discussion '[Canfestival-devel] some minor CanFestival build suggestions', https://sourceforge.net/mailarchive/message.php?msg_id=28397766
#!/bin/sh

module="canf_ktest"
device="canf_ktest"

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

rm -f /dev/${device}