From: Richard W.M. Jones Date: Thu, 24 Nov 2016 12:50:25 +0000 (+0000) Subject: Fix init script for yet again new location of udev. X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=fce1d671d22b616c261386efb9aa98cec136d8f0;p=supernested.git Fix init script for yet again new location of udev. --- 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