rt/msr_unload
author Florian Pose <fp@igh-essen.com>
Tue, 09 May 2006 09:45:42 +0000
changeset 218 80fb87518f3d
parent 181 3e9155836bc7
permissions -rwxr-xr-x
EoE: State machine with function pointers, documentation.
#!/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