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

# Cleanup the configfs filesystem
./scripts/test_configfs_cleanup.sh

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

rm_module snd_avirt_ap_loopback
rm_module snd_avirt_ap_dummy
rm_module snd_avirt_core
echo "Drivers Removed!"