From fce1d671d22b616c261386efb9aa98cec136d8f0 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Thu, 24 Nov 2016 12:50:25 +0000 Subject: [PATCH] Fix init script for yet again new location of udev. --- build-supernested.sh.in | 2 +- init.in | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build-supernested.sh.in b/build-supernested.sh.in index e3c2b10..7807385 100644 --- a/build-supernested.sh.in +++ b/build-supernested.sh.in @@ -40,7 +40,7 @@ if [[ "$distro" =~ ^fedora- ]]; then grep qemu qemu-kvm-rhev - systemd + systemd-udev util-linux " elif [[ "$distro" =~ ^debian- ]]; then diff --git a/init.in b/init.in index 84f11fa..899f7a0 100644 --- a/init.in +++ b/init.in @@ -41,8 +41,8 @@ mkdir -p /var/tmp mount -t tmpfs tmpfs /var/tmp # Find and start udev. -for f in /sbin/udevd /lib/udev/udevd \ - /lib/systemd/systemd-udevd /usr/lib/systemd/systemd-udevd \ +for f in /lib/systemd/systemd-udevd /usr/lib/systemd/systemd-udevd \ + /sbin/udevd /lib/udev/udevd \ /usr/lib/udev/udevd; do if [ -x "$f" ]; then UDEVD="$f"; fi done -- 1.8.3.1