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