fp@1619: #!/bin/sh fp@1619: module="ec_msr_sample" fp@1619: device="msr" fp@1619: fp@1619: # invoke rmmod with all arguments we got fp@1619: /sbin/rmmod $module $* || exit 1 fp@1619: fp@1619: # Remove stale nodes fp@1619: rm -f /dev/${device} /dev/${device}0