From: Richard W.M. Jones Date: Thu, 20 Oct 2011 22:04:41 +0000 (+0100) Subject: appliance: udev-174 moves udevd to /lib/udev/udevd (instead of /sbin/udevd) X-Git-Tag: 1.8.14~5 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=fe6072ecc6f7ea6f7ce50199c0788ac5aa6c76e3;p=libguestfs.git appliance: udev-174 moves udevd to /lib/udev/udevd (instead of /sbin/udevd) (cherry picked from commit fef0ff3d869d2ebdb48eea0c538270fc98f5952d) --- diff --git a/appliance/init b/appliance/init index 9490d48..bc94393 100755 --- a/appliance/init +++ b/appliance/init @@ -29,6 +29,11 @@ elif [ -x /sbin/udevd ]; then /sbin/udevd --daemon /sbin/udevadm trigger /sbin/udevadm settle +elif [ -x /lib/udev/udevd ]; then + echo -e '\000\000\000\000' > /proc/sys/kernel/hotplug + /lib/udev/udevd --daemon + /sbin/udevadm trigger + /sbin/udevadm settle else echo No udev, creating /dev manually mount -t tmpfs none /dev