note a leak that needs fixing eventually
[trinity.git] / scripts / rmmod-all.sh
blobf1e625f40a0ffd3cecd238c923c2d4804413bbdc
1 #!/bin/bash
3 for j in `lsmod |awk '{ print $1}' | grep -v caif | grep -v Module`
4 do
5 modprobe -r $j
6 done