aboutsummaryrefslogtreecommitdiffstats
path: root/unload.sh
blob: a011a2bf5a7d1a0c7636ead2db013675866f8a96 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

rm_module() {
        lsmod |grep "^$1\>" && rmmod $1 || true
}

rm_module avirt_loopbackap
rm_module avirt_dummyap
rm_module avirt_core
echo "Drivers Removed!"