rt/msr_unload
author Florian Pose <fp@igh-essen.com>
Fri, 21 Apr 2006 12:35:17 +0000
changeset 197 b9a6e2c22745
parent 181 3e9155836bc7
permissions -rwxr-xr-x
GPLv2 License and enhanced Doxygen output.
#!/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