summaryrefslogtreecommitdiffstats
path: root/system/system76-io-dkms/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'system/system76-io-dkms/doinst.sh')
-rw-r--r--system/system76-io-dkms/doinst.sh6
1 files changed, 2 insertions, 4 deletions
diff --git a/system/system76-io-dkms/doinst.sh b/system/system76-io-dkms/doinst.sh
index 6b33ed6c28..e7dbe2df63 100644
--- a/system/system76-io-dkms/doinst.sh
+++ b/system/system76-io-dkms/doinst.sh
@@ -1,7 +1,5 @@
VER=@MODULE_VERSION@
dkms install system76-io/$VER
-# Before removing the system76-io package, the following command should
-# be run to unregister the module from dkms:
-#
-# dkms remove system76-io/$VER --all
+# Copy a backup of dkms.conf for module removal by douninst.sh.
+cp usr/src/system76-io-$VER/dkms.conf etc/dkms/system76-io-$VER.conf