summaryrefslogtreecommitdiffstats
path: root/audio-drivers/alsa-driver/POST_REMOVE
diff options
context:
space:
mode:
Diffstat (limited to 'audio-drivers/alsa-driver/POST_REMOVE')
-rwxr-xr-xaudio-drivers/alsa-driver/POST_REMOVE8
1 files changed, 8 insertions, 0 deletions
diff --git a/audio-drivers/alsa-driver/POST_REMOVE b/audio-drivers/alsa-driver/POST_REMOVE
new file mode 100755
index 0000000000..871ec4bb8c
--- /dev/null
+++ b/audio-drivers/alsa-driver/POST_REMOVE
@@ -0,0 +1,8 @@
+MOD="/etc/modules.conf"
+TMP="/tmp/modules.conf"
+INC="include /etc/modules.d/alsa"
+
+cp $MOD $TMP
+grep -v "$INC" $TMP > $MOD
+rm $TMP
+depmod -a