aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/unload.sh
diff options
context:
space:
mode:
authorMark Farrugia <mark.farrugia@fiberdyne.com.au>2018-10-08 17:02:51 +1100
committerMark Farrugia <mark.farrugia@fiberdyne.com.au>2018-10-26 17:27:41 +1100
commit39af5aad096d103c171096f05cc0487e66de0571 (patch)
tree76ad9495f009a794835b7785a593dc49f19ca623 /scripts/unload.sh
parent3b2d2634474398bb40c64941c828a4cf6b363d4a (diff)
Add working loopback implementation, helper scripts
Reworked the original aloop implementation to have the PCM devices loop on themselves, and subscribe the the AVIRT system. Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
Diffstat (limited to 'scripts/unload.sh')
-rwxr-xr-xscripts/unload.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/unload.sh b/scripts/unload.sh
index a011a2b..2c158d5 100755
--- a/scripts/unload.sh
+++ b/scripts/unload.sh
@@ -1,5 +1,8 @@
#!/bin/sh
+rmdir /config/avirt/streams/playback_*
+rmdir /config/avirt/streams/capture_*
+
rm_module() {
lsmod |grep "^$1\>" && rmmod $1 || true
}