rt/msr_unload
changeset 181 3e9155836bc7
parent 0 05c992bf5847
equal deleted inserted replaced
180:786d4cba38fb 181:3e9155836bc7
     1 #!/bin/sh
     1 #!/bin/sh
     2 module="msr_modul"
     2 module="msr_rt"
     3 device="msr"
     3 device="msr"
     4 
     4 
     5 # invoke rmmod with all arguments we got
     5 # invoke rmmod with all arguments we got
     6 /sbin/rmmod $module $* || exit 1
     6 /sbin/rmmod $module $* || exit 1
     7 
     7 
     8 # Remove stale nodes
     8 # Remove stale nodes
     9 
     9 rm -f /dev/${device} /dev/${device}0
    10 rm -f /dev/${device} /dev/${device}0 
       
    11 
       
    12 
       
    13 
       
    14 
       
    15 
       
    16