examples/msr/msr_unload
changeset 451 cd6b819c2351
parent 450 03523dfc4dff
child 452 d8ae13a5a910
equal deleted inserted replaced
450:03523dfc4dff 451:cd6b819c2351
     1 #!/bin/sh
       
     2 module="ec_msr_sample"
       
     3 device="msr"
       
     4 
       
     5 # invoke rmmod with all arguments we got
       
     6 /sbin/rmmod $module $* || exit 1
       
     7 
       
     8 # Remove stale nodes
       
     9 rm -f /dev/${device} /dev/${device}0