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