rt/msr_unload
author Florian Pose <fp@igh-essen.com>
Tue, 11 Apr 2006 09:12:00 +0000
changeset 182 8c0bc99229a9
parent 181 3e9155836bc7
permissions -rwxr-xr-x
Slaves stored in list, slaves in SysFS
#!/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