aboutsummaryrefslogtreecommitdiff
path: root/system/system76-io-dkms/douninst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'system/system76-io-dkms/douninst.sh')
-rw-r--r--system/system76-io-dkms/douninst.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/system/system76-io-dkms/douninst.sh b/system/system76-io-dkms/douninst.sh
new file mode 100644
index 000000000000..9a5a1e16a0e4
--- /dev/null
+++ b/system/system76-io-dkms/douninst.sh
@@ -0,0 +1,6 @@
+VER=@MODULE_VERSION@
+CONF=etc/dkms/system76-io-$VER.conf
+if [ -r $CONF ]; then
+ dkms remove system76-io/$VER --all -c $CONF
+ rm $CONF
+fi