examples/rt/msr_unload
author Florian Pose <fp@igh-essen.com>
Wed, 10 May 2006 07:57:26 +0000
changeset 223 daa5e5656b35
parent 220 342ad851ec78
permissions -rwxr-xr-x
Applied new path information to example modules.
#!/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