summaryrefslogtreecommitdiff
path: root/libre-testing/systemd/udev-hook
diff options
context:
space:
mode:
Diffstat (limited to 'libre-testing/systemd/udev-hook')
-rw-r--r--libre-testing/systemd/udev-hook18
1 files changed, 0 insertions, 18 deletions
diff --git a/libre-testing/systemd/udev-hook b/libre-testing/systemd/udev-hook
deleted file mode 100644
index 61d853293..000000000
--- a/libre-testing/systemd/udev-hook
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/bin/sh -e
-
-udevd_live() {
- if [ ! -d /run/udev ]; then
- echo >&2 " Skipped: Device manager is not running."
- exit 0
- fi
-}
-
-case $1 in
- hwdb) /usr/bin/systemd-hwdb --usr update ;;
-
- udev-reload) udevd_live; /usr/bin/udevadm control --reload ;;
-
- *) echo >&2 " Invalid operation '$1'"; exit 1 ;;
-esac
-
-exit 0