summaryrefslogtreecommitdiff
path: root/libre/dkms-libre/dkms.hook
blob: 3d656e32d681cf3bc1c70c4d6119355012af567e (plain)
1
2
3
4
5
6
7
8
9
10
11
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: