aboutsummaryrefslogtreecommitdiff
path: root/DEBIAN/prerm
diff options
context:
space:
mode:
authorMilan Misic <twoexem@gmail.com>2026-03-25 17:31:39 +0100
committerMilan Misic <twoexem@gmail.com>2026-03-25 17:31:39 +0100
commite58e13c7244236fb518935635df5bf6c579d03ae (patch)
treebf31668528598a78377cccbe3897ea533999a383 /DEBIAN/prerm
parent2254fe40d06c6739b768995f87fdd71f0693682b (diff)
Created .deb structure, wrote control, postinst and prerm files
Diffstat (limited to 'DEBIAN/prerm')
-rw-r--r--DEBIAN/prerm7
1 files changed, 7 insertions, 0 deletions
diff --git a/DEBIAN/prerm b/DEBIAN/prerm
new file mode 100644
index 0000000..acdc994
--- /dev/null
+++ b/DEBIAN/prerm
@@ -0,0 +1,7 @@
+#/bin/bash
+set -e
+
+dkms remove st-lsm6dsx-shift13mi/0.1 --all || true
+
+modprobe -r st_lsm6dsx_i2c || true
+modprobe st_lsm6dsx_i2c || true