examples/rt/msr_unload
author Florian Pose <fp@igh-essen.com>
Wed, 10 May 2006 07:41:38 +0000
changeset 220 342ad851ec78
permissions -rwxr-xr-x
Added examples directory.
#!/bin/sh
module="msr_rt"
device="msr"

# invoke rmmod with all arguments we got
/sbin/rmmod $module $* || exit 1

# Remove stale nodes
rm -f /dev/${device} /dev/${device}0