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