examples/rt/msr_unload
changeset 224 4828e5e419bf
parent 223 daa5e5656b35
child 225 9e8150db6fc8
equal deleted inserted replaced
223:daa5e5656b35 224:4828e5e419bf
     1 #!/bin/sh
       
     2 module="msr_rt"
       
     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