examples/msr/msr_unload
author Florian Pose <fp@igh-essen.com>
Thu, 03 Aug 2006 13:05:52 +0000
branchstable-1.0
changeset 1626 d849e3b7b202
parent 1619 0d4119024f55
permissions -rwxr-xr-x
MERGE trunk -r492:493 -> branches/stable-1.0 (Init script identation.
#!/bin/sh
module="ec_msr_sample"
device="msr"

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

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