examples/msr/msr_unload
author Florian Pose <fp@igh-essen.com>
Wed, 10 May 2006 07:58:41 +0000
changeset 224 4828e5e419bf
child 232 f6594a07cdda
permissions -rwxr-xr-x
Renamed rt example to msr.
#!/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