diff options
author | David P <megver83@parabola.nu> | 2022-01-14 02:40:58 -0300 |
---|---|---|
committer | David P <megver83@parabola.nu> | 2022-01-14 02:40:58 -0300 |
commit | 2437480437381628114a2df0af9830f5d1ce82a8 (patch) | |
tree | c6f75ef8109277dd35b74016b48e28546820b3f6 /nonsystemd/xudev/udev-hook | |
parent | 42252a491c72269495a29dc92cb91a3c332afd57 (diff) | |
download | abslibre-2437480437381628114a2df0af9830f5d1ce82a8.tar.gz abslibre-2437480437381628114a2df0af9830f5d1ce82a8.tar.bz2 abslibre-2437480437381628114a2df0af9830f5d1ce82a8.zip |
remove eudev and xudev
eudev was deprecated and xudev is now udev
Signed-off-by: David P <megver83@parabola.nu>
Diffstat (limited to 'nonsystemd/xudev/udev-hook')
-rw-r--r-- | nonsystemd/xudev/udev-hook | 21 |
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 |