Moved functionality of ecrt_master_deactivate() (now deprecated) to ecrt_master_release().
#!/bin/shmodule="ec_msr_sample"device="msr"# invoke rmmod with all arguments we got/sbin/rmmod $module $* || exit 1# Remove stale nodesrm -f /dev/${device} /dev/${device}0