From 0f55856e02b30c9cc41df0c75bccf7f2881cfe93 Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Thu, 27 Jan 2022 17:55:56 +0100 Subject: contrib: update --- contrib/rvnit/04Dudevd | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 contrib/rvnit/04Dudevd (limited to 'contrib/rvnit/04Dudevd') diff --git a/contrib/rvnit/04Dudevd b/contrib/rvnit/04Dudevd new file mode 100755 index 0000000..318c7e8 --- /dev/null +++ b/contrib/rvnit/04Dudevd @@ -0,0 +1,18 @@ +#!/bin/sh + +. /etc/runit/functions + +# vim: set ts=4 sw=4 et: + +[ -n "$VIRTUALIZATION" ] && return 0 + +if [ -x /usr/lib/systemd/systemd-udevd ]; then + _udevd=/usr/lib/systemd/systemd-udevd +elif [ -x /sbin/udevd -o -x /bin/udevd ]; then + _udevd=udevd +else + msg_warn "cannot find udevd!" + exit 111 +fi + +exec ${_udevd} 2>&1 -- cgit 1.4.1