summaryrefslogtreecommitdiff
path: root/libre/dkms-libre/dkms.hook
diff options
context:
space:
mode:
Diffstat (limited to 'libre/dkms-libre/dkms.hook')
-rw-r--r--libre/dkms-libre/dkms.hook12
1 files changed, 12 insertions, 0 deletions
diff --git a/libre/dkms-libre/dkms.hook b/libre/dkms-libre/dkms.hook
new file mode 100644
index 000000000..3d656e32d
--- /dev/null
+++ b/libre/dkms-libre/dkms.hook
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+dkms_autoinstall() {
+ export TMPDIR=/dev/shm
+ status 'Starting DKMS autoinstall' dkms autoinstall
+ unset TMPDIR
+}
+
+add_hook single_udevlaunched dkms_autoinstall
+add_hook sysinit_udevlaunched dkms_autoinstall
+
+# vim:set ts=2 sw=2 ft=sh et: