git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2910413
)
appliance: udev-174 moves udevd to /lib/udev/udevd (instead of /sbin/udevd)
author
Richard W.M. Jones
<rjones@redhat.com>
Thu, 20 Oct 2011 22:04:41 +0000
(23:04 +0100)
committer
Richard W.M. Jones
<rjones@redhat.com>
Thu, 20 Oct 2011 22:16:52 +0000
(23:16 +0100)
appliance/init
patch
|
blob
|
history
diff --git
a/appliance/init
b/appliance/init
index
d207b8e
..
ee80334
100755
(executable)
--- a/
appliance/init
+++ b/
appliance/init
@@
-31,6
+31,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