summaryrefslogtreecommitdiff
path: root/libre/dkms-libre/dkms.hook
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-06-29 01:17:51 -0700
committerroot <root@rshg054.dnsready.net>2013-06-29 01:17:51 -0700
commit8421e68301cd00265bc8db838e69254316c7133a (patch)
treeaf089edb7cb6846d1fcb4ffc98d3e4f38ea18345 /libre/dkms-libre/dkms.hook
parent0a66b29837912ffee94e074fc35ba46896a96f2a (diff)
Sat Jun 29 01:17:51 PDT 2013
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: